Converts an Int32 to a Boolean value.
[Visual Basic] Overloads Public Shared Function ToBoolean( _ ByVal value As Integer _ ) As Boolean [C#] public static bool ToBoolean( int value ); [C++] public: static bool ToBoolean( int value ); [JScript] public static function ToBoolean( value : int ) : Boolean;
true if value is non-zero; otherwise, false.
Convert Class | Convert Members | System Namespace | Convert.ToBoolean Overload List