I am developing window phone 7 application in silverlight. I am new to the window phone 7 application. I have the long value in String format as follows
String A
Use Convert.ToInt32(). If the value is too big for an int then it will throw an OverflowException.
This method can take a whole range of values, including Int64 and Strings.