How do I prevent the code below from throwing a FormatException. I\'d like to be able to parse strings with a leading zero into ints. Is there a clean way to do
FormatException
int i = int.parse(value.TrimStart('0'));