1 // ==++==
2 //
3 //   Copyright (c) Microsoft Corporation.  All rights reserved.
4 //
5 // ==--==
6 // <OWNER>kimhamil</OWNER>
7 //
8 
9 namespace System.Collections.Generic {
10     using System;
11 
12     // The generic IEqualityComparer interface implements methods to if check two objects are equal
13     // and generate Hashcode for an object.
14     // It is use in Dictionary class.
15     public interface IEqualityComparer<in T>
16     {
Equals(T x, T y)17         bool Equals(T x, T y);
GetHashCode(T obj)18         int GetHashCode(T obj);
19     }
20 }
21 
22