Skip to main content

Equality Members

Generates two Equals methods and a GetHashCode override.

Selectable items: members to check for equality.


  • Overload equality members — implements the overloads of the “==“ and “!=“ operators, so that they call the custom Equals method.
  • Implement IEquatable<T> interface — adds the interface implementation to the target type.


The screencast below shows how to use the Equality Members action in Declare Menu.