C# Convert ToUInt64(UInt64)
Description
Convert ToUInt64(UInt64)
returns the specified 64-bit
unsigned integer; no actual conversion is performed.
Syntax
Convert.ToUInt64(UInt64)
has the following syntax.
[CLSCompliantAttribute(false)]
public static ulong ToUInt64(
ulong value
)
Parameters
Convert.ToUInt64(UInt64)
has the following parameters.
value
- The 64-bit unsigned integer to return.
Returns
Convert.ToUInt64(UInt64)
method returns value is returned unchanged.
Example
/*w ww . ja v a2 s. c o m*/
using System;
public class MainClass{
public static void Main(String[] argv){
Console.WriteLine(Convert.ToUInt64((UInt64)123));
}
}
The code above generates the following result.