Click or drag to resize
ConvertToBoolean Method (UInt64)
Converts the value of the specified 64-bit unsigned integer to an equivalent Boolean value.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static bool ToBoolean(
	ulong value
)

Parameters

value
Type: SystemUInt64
The 64-bit unsigned integer to convert.

Return Value

Type: Boolean
true if value is not zero; otherwise, false.
See Also