EqualityComparerT Class |
Namespace: System.Collections.Generic
[SerializableAttribute] public abstract class EqualityComparer<T> : IEqualityComparer, IEqualityComparer<T>
The EqualityComparerT type exposes the following members.
Name | Description | |
---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Equals(T, T) | When overridden in a derived class, determines whether two objects of type T are equal. |
![]() | 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 | |
---|---|---|
![]() ![]() | Default | Returns a default equality comparer for the type specified by the generic argument. |