Converts a specified Int64 to a String.
[Visual Basic] Overloads Public Shared Function ToString( _ ByVal l As Long _ ) As String [C#] public static string ToString( long l ); [C++] public: static String* ToString( __int64 l ); [JScript] public static function ToString( l : long ) : String;
The string representation of the Int64.
The ToString method is a base-10 representation of the number with no extra padding. If the value is negative, the first character in the string returned will be '-'. No sign character is returned if the number is non-negative. The rest of the string returned is made up of characters representing the magnitude of the number.
Leading zero characters ('0') are not prepended to the returned string.
The following characters are used as digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.
The output from ToString should be consumable by FromString.
Int64 Structure | Int64 Members | System Namespace | Int64.ToString Overload List | String | Format | NumberFormatInfo