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? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -