Converts the string to a int equivalent.
s The string to convert.
An Int32 equivalent of the string.
TypeReasonArgumentNullException s is a null reference.FormatException s is not in the correct format.OverflowException s represents a number less than int.MinValue or greater than int.MaxValue.