KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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 this? string value = "01"; int i = int.Parse(value);
Tags (comma-separated)
Save Edits
Cancel