Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 858 Bytes

File metadata and controls

25 lines (17 loc) · 858 Bytes

GenericComparer<T> class

Generic equality comparer, to quickly define custom comparer

public class GenericComparer<T> : EqualityComparer<T>
parameter description
T Type of the objects to compare

Public Members

name description
GenericComparer(…) Creates a new GenericComparer using the specified key getter
override Equals(…) Check two items keys (as retrieved by the key getter) for equality
override GetHashCode(…) Returns the hash code of the key as retrieved by the key getter method

See Also