static void Main(string[] args) { Heap theHeap = new Heap(10); theHeap.insert(70); theHeap.insert(40); theHeap.insert(50); theHeap.insert(20); theHeap.insert(60); theHeap.insert(100); theHeap.insert(80); theHeap.insert(30); theHeap.insert(10); theHeap.insert(90); Console.WriteLine("Heap' den eklediğimiz 10 elemandan silinen 5 eleman:"); Console.WriteLine("**********************************************************"); for (int i = 0; i < 5; i++) { Console.WriteLine(theHeap.remove().getKey()); } Console.ReadLine(); }