InsertionSort Method (IComparable) |
Rearranges the array in ascending order, using the natural order.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static void Sort(
IComparable[] a
)
Parameters
- a
- Type: SystemIComparable
a the array to be sorted
See Also