public static void RunLinkedListDemo(params int[] numbers) { var node = new ListNode(0); var myList = new LinkedList(node); for (int i = 0; i < numbers.Length; i++) { myList.Enqueue(myList.Root, numbers[i]); } myList.PrintList(node); Console.WriteLine("************"); var first = myList.Dequeue(); Console.WriteLine("Dequeue: " + first); myList.PrintList(node); }