string class : ParseToLong() method

Description

Converts the string to the instance of the long type.

Syntax

stringInstance.ParseToLong()

Arguments

None

Return value

ClassDescription
longAn 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).

Links for reference

Copyright © Rice All rights reserved.