Click here to Skip to main content
Click here to Skip to main content
Alternative Tip

Sorting using C# Lists

By , 4 Feb 2012
Rate this:
Please Sign up or sign in to vote.

You can also derive the user-defined node class from IComparable then add to it the CompareTo method.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author


San Marino San Marino
No Biography provided

Comments and Discussions

GeneralReason for my vote of 5 agree! Pinmemberraananv12-Feb-12 8:58 
GeneralReason for my vote of 5 IComparable is the way to go. PinmemberJames Hurburgh6-Feb-12 17:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.140415.2 | Last Updated 4 Feb 2012
Article Copyright 2012 by giulicard
Everything else Copyright © CodeProject, 1999-2014
Terms of Use
Layout: fixed | fluid