Ejemplo n.º 1
0
 public void HeapSortTest()
 {
     int[] arr = { 1, 2, 3, 4, 42, 5, 6, 8, 1, 2, 3, 25 };
     SortService.HeapSort(arr);
     for (int i = 0; i < arr.Length; i++)
     {
         Console.WriteLine(arr[i]);
     }
 }