Takes a string containing an int and converts it to an int? type.
public static int? StrToNullInt(this string value)
The string to convert to an int?.
bool? x = "5".StrToNullInt();
bool? x = "".StrToNullInt();