Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
When the "x" coordinate exceeds 9, the string will be:
"10:4"
Accordingly, the character at index [2] will be ':', not a number.
Therefore, Convert.ToInt32 throws a FormatException.
I recommend doing what Roman advises .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question