Method ToInt
ToInt(bool)
Reinterprets the specified value as a integer.
public static int ToInt(this bool value)
Parameters
valueboolThe value to reinterpret.
Returns
- int
1 if true, 0 if false.
Reinterprets the specified value as a integer.
public static int ToInt(this bool value)
value boolThe value to reinterpret.
1 if true, 0 if false.