C# Class SystemEx.CharEx

Contains utility methods to work with characters.
Afficher le fichier Open project: pvginkel/SystemEx Class Usage Examples

Méthodes publiques

Méthode Description
FromHex ( string value ) : char
FromOct ( string value ) : char
HexToInt ( char value ) : int

Converts a hexadecimal character to its integer value.

IsHex ( char value ) : bool

Test whether a character is a hexadecimal character.

IsOct ( char c ) : bool

Method Details

FromHex() public static méthode

public static FromHex ( string value ) : char
value string
Résultat char

FromOct() public static méthode

public static FromOct ( string value ) : char
value string
Résultat char

HexToInt() public static méthode

Converts a hexadecimal character to its integer value.
public static HexToInt ( char value ) : int
value char The character to convert to an integer.
Résultat int

IsHex() public static méthode

Test whether a character is a hexadecimal character.
public static IsHex ( char value ) : bool
value char The character to test.
Résultat bool

IsOct() public static méthode

public static IsOct ( char c ) : bool
c char
Résultat bool