Ejemplo n.º 1
0
        public static void TestLinkedListQueue()
        {
            LinkedListQueue <int> linkedListQueue = new LinkedListQueue <int>();

            linkedListQueue.Enqueue(3);
            linkedListQueue.Enqueue(4);
            linkedListQueue.Enqueue(5);
            linkedListQueue.Enqueue(6);
            linkedListQueue.Enqueue(7);
            linkedListQueue.Enqueue(8);
            linkedListQueue.PrintItems();
            linkedListQueue.Dequeue();
            linkedListQueue.Dequeue();
            linkedListQueue.PrintItems();
            Console.ReadLine();
        }