I find myself often needing to use Integer.TryParse to test if a value is an integer. However, when you use TryParse, you have to pass a reference variable to the function,
A variation would be:
Int32.TryParse(input_string, Globalization.NumberStyles.Integer)