ConvertToUInt64 Method (Boolean) |
Converts the specified Boolean value to the equivalent 64-bit unsigned integer.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static ulong ToUInt64(
bool value
)
Parameters
- value
- Type: SystemBoolean
The Boolean value to convert.
Return Value
Type:
UInt64The number 1 if
value is true; otherwise, 0.
See Also