parsing - .NET method to parse String with Long type qualifier -


i string 3rd party sw long type qualifier, e.g. "1l". want parse int64, int64.tryparse not recognize int64. there .net method safely? want avoid parsing myself...

thanks help!

in simplest case, can this:

string snum = "1l"; int pos = snum.indexof('l'); if (pos == snum.length-1) {     snum = snum.substring(0, snum.length-1); } long num = int64.parse(snum); 

Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

Php - Delimiter must not be alphanumeric or backslash -

Delphi interface implements -