Easier Complex IComparable Implementations

added by schalkvanwyk
2/9/2011 11:50:31 PM

0 Kicks, 60 Views

I know a lot of us are using the LINQ OrderBy() method to get our data shuffled in the right order, but on occasion I still do like implementing IComparable, especially when defining the default, intrinsic sort scheme for a particular class. What I don’t like is implementing IComparable when I want to compare on more than one thing.


0 comments