UtilNetCodeConverterHexadecimalConvertT(String, String) Method

Converts an Hexadecimal value to its corresponding representation of the specified Type.

Definition

Namespace: DevCase.Core.Diagnostics.CodeConversion
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static T HexadecimalConvert<T>(
	string value,
	string separator = ""
)

Parameters

value  String
The Hexadecimal value.
separator  String  (Optional)
The string used to separate Hexadecimal sequences.

Type Parameters

T
The datatype.

Only Byte, SByte, Int16, UInt16Int32, UInt32, Int64 ans UInt64 are supported.

Return Value

T
The resulting value.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

Exceptions

ArgumentException Not a valid datatype.;T

See Also