QuickSort<T> class
Implementation of a Quicksort (partition-exchange sort) for IList
public class QuickSort<T> : IInPlaceSort<T>
where T : IComparable
| parameter | description |
|---|---|
| T | T must implement IComparable |
Public Members
| name | description |
|---|---|
| QuickSort() | The default constructor. |
| Sort(…) | Performs an in-place sort of the collection. |
Remarks
More information about QuickSort can be found at Wikipedia or this blog post.
See Also
- interface IInPlaceSort<T>
- namespace TheCodingMonkey.Collections.Sort