ConvertToUInt64 Method (Int16) |
Converts the value of the specified 16-bit signed integer to the equivalent 64-bit unsigned integer.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static ulong ToUInt64(
short value
)
Parameters
- value
- Type: SystemInt16
The 16-bit signed integer to convert.
Return Value
Type:
UInt64A 64-bit unsigned integer that is equivalent to
value.
Exceptions Exception | Condition |
---|
OverflowException | value is less than zero. |
See Also