Click or drag to resize
ConvertToUInt16 Method (Char)
Converts the value of the specified Unicode character to the equivalent 16-bit unsigned integer.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static ushort ToUInt16(
	char value
)

Parameters

value
Type: SystemChar
The Unicode character to convert.

Return Value

Type: UInt16
The 16-bit unsigned integer equivalent to value.
See Also