EqualityComparer<T> Methods
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The EqualityComparer<T> type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Equals(T, T) | When overridden in a derived class, determines whether two objects of type T are equal. |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode() | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetHashCode(T) | When overridden in a derived class, serves as a hash function for the specified object for hashing algorithms and data structures, such as a hash table. |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
IEqualityComparer.Equals | Determines whether the specified objects are equal. |
|
IEqualityComparer.GetHashCode | Returns a hash code for the specified object. |
Show: