c# FormatException was unhandled
- by poco
I'm parsing chat from a game and i get this string "?68 00 00 37 00 45 00 00"
recipe = recipe.Replace("?", "");
string[] rElements = new string[8];
rElements = recipe.Split(' ');
int num = int.Parse(rElements[0]);
I get a Format exception on that last line that i don't understand. It says that input string is not in the right format. I have checked the debugger and the first element says it is "68". Anyone have any clue what is happening?