int.Parse() failing for "01"

Is there any support any function to convert string to integer when the string is of the form “02” where as strings like “12” or “100” work fine.

@ anthonys - what happens with “02”?

Works for me…


string Ms = "001";
int Mr = int.Parse(Ms); 
int Mp = int.Parse("01");