public static void Main() { var elements = new int[] { 5, 4, 3, 2, 1 }; QuickSort <int> .Sort(elements, 0, elements.Length - 1); }