Mono Class Library: System.Boolean Overview | Members

System.Boolean.Equals Method

Determines whether the current instance and the specified object represent the same type and value.

public override bool Equals (object obj)

Parameters

obj
The object to compare to the current instance.
obj
Documentation for this section has not yet been entered.

Returns

true if obj is a bool with the same value as the current instance. If obj is a null reference or is not an instance of bool, returns false.

Remarks

Note: This method overrides object.Equals(object).

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0