Method ParseInt
ParseInt(string)
Parses the specified string as an integer.
public static int ParseInt(this string intString)
Parameters
intStringstringThe integer string to parse.
Returns
ParseInt(string, int)
Parses the specified string as an integer.
public static int ParseInt(this string intString, int defaultValue)
Parameters
intStringstringThe integer string to parse.
defaultValueintIf parsing fails, the value to return instead.