Community

.NET Tip: Sort Your Objects by Implementing the IComparable Interface

(Jay Miller) To enable your classes to be able to support custom comparisons, your class needs to implement the IComparable interface. IComparable contains a single method, CompareTo(),that your class will have to implement. The CompareTo() method compares the current instance of an object to anothe

Read More - Register for Free Membership