C# Convert ToString(UInt64)
Description
Convert ToString(UInt64)
converts the value of the specified
64-bit unsigned integer to its equivalent string representation.
Syntax
Convert.ToString(UInt64)
has the following syntax.
[CLSCompliantAttribute(false)]
public static string ToString(
ulong value
)
Parameters
Convert.ToString(UInt64)
has the following parameters.
value
- The 64-bit unsigned integer to convert.
Returns
Convert.ToString(UInt64)
method returns The string representation of value.
Example
//from w ww . j a v a 2s.com
using System;
public class MainClass{
public static void Main(String[] argv){
Console.WriteLine(Convert.ToString((UInt64)123));
}
}
The code above generates the following result.