ArrayExtensions.Sort<T>

Extension Method in ArrayExtensions

Declaration

public static void Sort<T>(this T[] array, Comparison<T> comparison)

Description

Sorts the elements of the array.

Type Parameters

TThe type of the array.

Parameters

arrayThe array to sort.
comparisonThe comparison to use.