How could i convert data from string to long in C#?
I have data
String strValue[i] =\"1100.25\";
now i want it in
long
You can also do using Int64.TryParse Method. It will return '0' if their is any string value but did not generate an error.
Int64.TryParse
Int64 l1; Int64.TryParse(strValue, out l1);