HtmlEscape(input, leaveSingleQuotesAlone, leaveDoubleQuotesAlone) Indent(str, by, indentFirstLine) ParseInt(str, default_, style, provider) Replace(str, oldValue, newValue, comparison)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Extension method: int ParseInt(this string, int, NumberStyles, IFormatProvider)Declarationpublic static int ParseInt(
this string str,
int default_,
NumberStyles style = Integer,
IFormatProvider provider = null
) Summary
Parses this string as an int using int.TryParse(string, out int). Returns default_ if the value cannot be parsed. |