Converts the specified Boolean value to the equivalent 16-bit signed integer.
Syntax
Parameters
- value
-
The Boolean value to convert.
Returns
The number 1 if value is true; otherwise, 0.
Remarks
Requirements
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0