8 posts about IComparer by 8 contributors.
Know IComparer? Share what you know with developers who are learning it.
In the Object class of C#, the Equals method can be overridden, creating virtual and static versions. Virtual Equals compares content, static compares references, while Reference. Equals provide reference equality. Understanding these aids in effective object comparison and customization.
In this article you will learn about IComparable, IComparer And IEquatable Interfaces In C#.
This article informs you that the .Net framework and especially the System.Collection namespace provides us two built in interfaces witch are IComparable and IComparer interfaces that enables us compare and sort objects.
This article illustrates a powerful collection in C#, the SortedDictionary. In the article we will discuss two ways to sort key-value pairs: using an IComparer object and using IComparable keys.
These 2 interfaces are basically use to sort user defined object collections
Learn how to sort C# objects by implementing IComparable for default ordering and IComparer for custom ascending or descending comparisons.
Implementation of IComparable in WPF. Here, we implement the CompareTo method and sort the Emp objects based on Age property.
The System.Collections namespace contains interfaces and classes that define various...
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article