ConvertToInt64 Method (UInt64) |
Converts the value of the specified 64-bit unsigned integer to an equivalent 64-bit signed integer.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static long ToInt64(
ulong value
)
Parameters
- value
- Type: SystemUInt64
The 64-bit unsigned integer to convert.
Return Value
Type:
Int64A 64-bit signed integer that is equivalent to
value.
Exceptions Exception | Condition |
---|
OverflowException | value is greater than MaxValue. |
See Also