Sorting in .Net (don't sort manually, let .Net do it for you) - level 100
Posted by: Jeffrey Palermo,
on 08 Nov 2006 |
View original | Bookmarked: 0 time(s)
I've labeled this as a level 100 topic because I feel that every .Net developer
should know the basics of sorting. With the base class library that we have to
work with, we don't have to worry about sorting algorithms or speeding up our
sorts. Folks smarter than I have implemented the fast sorting that we have in
.Net.Here, I'll cover the basics of how
to sort your own domain object as well as how to sort any other object (even
ones you didn't create).Let's consider...