public static bool EnumEquals (T lhs, T rhs);

Parameters

lhsThe first enum to compare.
rhsThe second enum to compare.

Returns

bool True if equal, otherwise false.

Description

Determines whether the specified enums are equal without boxing.