BobTheHacker schrieb:
> Project C# utilizing the Framework.
>
[quoted text clipped - 5 lines]
> am going to have to override the compare function and implement my
> own compare to function for the sort ?
Not override, implement. Your class should implement the IComparable
interface. How else could the sort algorithm know how to order the
objects of the class?
Fabian
cody - 17 May 2004 19:06 GMT
You can also use the sort method which takes a IComparator as parameter.

Signature
cody
[Freeware, Games and Humor]
www.deutronium.de.vu || www.deutronium.tk
> BobTheHacker schrieb:
>
[quoted text clipped - 13 lines]
>
> Fabian
Gang Peng - 27 May 2004 05:21 GMT
IComparator is a java thing.
IComparer is the .Net type.
Gang Peng
[MSFT]
> You can also use the sort method which takes a IComparator as parameter.
>
[quoted text clipped - 15 lines]
> >
> > Fabian