string class : ParseToLong() method
Description
Converts the string to the instance of the long type.
Syntax
stringInstance.ParseToLong()
Arguments
None
Return value
Class | Description |
long | An instance of the long type that is converted. |
Sample code
//anyString is a instance of string type.
long converted = anyString.ParseToLong();
Notes
It's a wrapper of the System.Int64.Parse(String).