C# Convert ToString(Int64)
Description
Convert ToString(Int64)
converts the value of the specified
64-bit signed integer to its equivalent string representation.
Syntax
Convert.ToString(Int64)
has the following syntax.
public static string ToString(
long value
)
Parameters
Convert.ToString(Int64)
has the following parameters.
value
- The 64-bit signed integer to convert.
Returns
Convert.ToString(Int64)
method returns The string representation of value.
Example
//from w w w .j ava2 s . c om
using System;
public class MainClass{
public static void Main(String[] argv){
System.Console.WriteLine(Convert.ToString((Int64)123));
}
}
The code above generates the following result.