![]()
true if obj is an enumeration value of the same type and with the same underlying value as this instance; otherwise, false.
The Enum.Equals(object) method overrides ValueType.Equals(object) to define how enumeration members are evaluated for equality.