class EqualityComparer<T>

in global :: System . Collections . Generic

Provides a base class for implementations of the generic interface.

  • T The type of objects to compare.

public static EqualityComparer<T> Default { get; }

Returns a default equality comparer for the type specified by the generic argument.

  • Returns The default instance of the class for type .

public static EqualityComparer<T> Create( Func<T,T,bool> equals, Func<T,int> getHashCode = null )

😔 No documentation found.

public bool Equals( T x, T y )

😔 No documentation found.

public int GetHashCode( T obj )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.