Click or drag to resize
ConvertToUInt64 Method (Int32)
Converts the value of the specified 32-bit signed integer to an equivalent 64-bit unsigned integer.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static ulong ToUInt64(
	int value
)

Parameters

value
Type: SystemInt32
The 32-bit signed integer to convert.

Return Value

Type: UInt64
A 64-bit unsigned integer that is equivalent to value.
Exceptions
ExceptionCondition
OverflowExceptionvalue is less than zero.
See Also