IComparer « Collections Data Structure « C# / C Sharp

1.IComparer Interface Exposes a method that compares two objects.
2.Comparer Class Compares two objects for equivalence, where string comparisons are case-sensitive.
3.EqualityComparer(T) Class provides a base class for implementations of the IEqualityComparer generic interface.
4.Compares the two values passed in and checks if they're value-wise the same.