Converts the boolean representation to an integer.
public static int ToInt(this bool value)
false.ToInt(); true.ToInt();
0 1
Last updated 1 year ago