long class : ToString() method

Description

Gets a string representation of the integer value.

Syntax

longInstance.ToString()

Arguments

None

Return value

ClassDescription
stringA string representation of the integer value.

Sample code

//anyLong is a instance of long type.

string stringRepresentation = anyLong.ToString();

Notes

It's a wrapper of the System.Int64.ToString().

Links for reference

Copyright © Rice All rights reserved.