Class Parse.Integer
- Namespace
- SunamoParsing
- Assembly
- SunamoParsing.dll
Provides integer parsing functionality.
public class Parse.Integer
- Inheritance
-
Parse.Integer
- Inherited Members
- Extension Methods
Methods
ParseInt(string)
Parses an integer from a string, returns -1 if parsing fails.
public int ParseInt(string text)
Parameters
textstringThe string to parse.
Returns
- int
The parsed integer value, or -1 if parsing fails.
ParseIntMaxValue(string)
Parses an integer from a string, returns int.MaxValue if parsing fails.
public int ParseIntMaxValue(string text)
Parameters
textstringThe string to parse.
Returns
- int
The parsed integer value, or int.MaxValue if parsing fails.