private static void addToPQ(PriorityQueue pq) { string input = ""; int toAdd = 0; Console.Out.WriteLine("Enter an integer value you want to add to the priority queue: "); input = Console.In.ReadLine(); if (!input.Equals("none")) { toAdd = Convert.ToInt32(input); pq.addItem(toAdd); Console.Out.WriteLine(input + " was added to priority queue."); pq.printPQueue(); } }