public static void RunClient(string sample)
        {
            ResizableQueue <string> s = new ResizableQueue <string>(3);
            var items = sample.Split(' ').ToList();

            foreach (var item in items)
            {
                if (item != "-")
                {
                    s.Enqueue(item);
                }
                else if (!s.IsEmpty())
                {
                    Console.Write(s.Dequeue() + " ");
                }
            }

            Console.WriteLine("(" + s.Size() + " left on queue )");
        }
 public ResizableQueueEnumerator(ResizableQueue <T> containingClassObj)
 {
     _containingClassInstance = containingClassObj;
     _currentIndex            = containingClassObj._tailIndex - 1;
 }