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] + " ");
     }
 }
Esempio 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] + " ");
            }
        }
 public static void QuickSortTest_ClassInitialize(TestContext context)
 {
     solution = new QuickSortSolution();
 }