How do I convert a string to an integer in C#?
int i; string result = Something; i = Convert.ToInt32(result);