Mono Class Library: System.Enum Overview | Members

System.Enum.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
An object to compare the current instance to.
obj
Documentation for this section has not yet been entered.

Returns

true if obj is of the same enumeration type and represents the same value as the current instance; otherwise, 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