I often wondered why is there no ISortable interface of somekind in .Net. I recently needed to sort items in the context menu in alphabetical order. Sorting them was the begining of a journey which produced this class. It sorts simple objects like int, string, etc... as well as complex objects that have properties you wish to sort on.
EDIT: 2006-07-06
I've removed the code because I published version 2 of this class which is better and can be found here.
Print | posted on Tuesday, June 27, 2006 2:16 PM | Filed Under [ .Net ]
Powered by:
Copyright © Mladen Prajdić