- Home /
Question by
theUndeadEmo · Oct 09, 2013 at 03:55 PM ·
try-catch
how do i try and catch format exception?
try
{
int.Parse (randomString);
}
catch (?????? e) {
}
Comment
Best Answer
Answer by theUndeadEmo · Oct 09, 2013 at 04:08 PM
found it
try
{
int.Parse (randomString);
}
catch (System.FormatException e) {
}
Your answer
Follow this Question
Related Questions
Try-catch alternative 2 Answers
FormatException: Input string was not in the correct format 2 Answers
why try / catch don't gone? 0 Answers