Changes

Jump to: navigation, search

Strategy

8 bytes added, 18:16, 7 February 2007
no edit summary
By default the QuickSort algorithm is used to sort item in the list.
Some times there is a need to use a different sort algorithm there is a overload of sort that takes an IComparer.
<br><brpre>
class CoolComparer : IComparer
{
IComparer myComparer = new CoolComparer();
items.Sort(myComparer); // Delegate Comparison Method
</pre>
1
edit

Navigation menu