int class : ToString() method
Description
Gets a string representation of the integer value.
Syntax
intInstance.ToString()
Arguments
None
Return value
Class | Description |
string | A string representation of the integer value. |
Sample code
//anyInt is a instance of int type.
string stringRepresentation = anyInt.ToString();
Notes
It's a wrapper of the System.Int32.ToString().