C# Class SystemEx.CharEx

Contains utility methods to work with characters.
Datei anzeigen Open project: pvginkel/SystemEx Class Usage Examples

Public Methods

Method 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 method

public static FromHex ( string value ) : char
value string
return char

FromOct() public static method

public static FromOct ( string value ) : char
value string
return char

HexToInt() public static method

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

IsHex() public static method

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

IsOct() public static method

public static IsOct ( char c ) : bool
c char
return bool