static void Main(string[] args)
 {
     QuickSortSolution solution = new QuickSortSolution();
     int[] A = { 1, 2, 4, 3, 5 };
     int[] B = solution.Sort(A);
     for (int i = 0; i < B.Length; i++)
     {
         Console.Write(B[i] + " ");
     }
 }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            QuickSortSolution solution = new QuickSortSolution();

            int[] A = { 1, 2, 4, 3, 5 };
            int[] B = solution.Sort(A);
            for (int i = 0; i < B.Length; i++)
            {
                Console.Write(B[i] + " ");
            }
        }