Converts a bool to a int
.
[Edit]
public static int ToInt32 (bool value) |
|
Parameters
- value
- The bool value to be converted.
[Edit]
Returns
If value is true returns 1; if
value is false returns 0.
[Edit]
Remarks
Requirements
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0