mscorlib 2.0.0.0 4.0.0.0 To be added.

This interface is implemented by types whose values can be equated (for example, the numeric and string classes). A value type or class implements the method to create a type-specific method suitable for determining equality of instances.

The interface defines the method, which determines the sort order of instances of the implementing type. The interface defines the method, which determines the equality of instances of the implementing type.

The interface is used by generic collection objects such as , , and when testing for equality in such methods as Contains, IndexOf, LastIndexOf, and Remove. It should be implemented for any object that might be stored in a generic collection.

Defines a generalized method that a value type or class implements to create a type-specific method for determining equality of instances.

- Method
  2.0.0.0
  4.0.0.0
  System.Boolean `` To be added.

  Determines whether the specified object is equal to the current object.

  if the specified object is equal to the current object; otherwise, .

  It is up to the implementation to define equality.