public void enqueue(string data)
        {
            QueueStringNode oldLast = last;

            last      = new QueueStringNode(data);
            last.Next = oldLast;
        }
 public string dequeue()
 {
     curr     = last;
     currNext = last.Next;
     while (currNext.Next != null)
     {
         curr     = currNext;
         currNext = currNext.Next;
     }
     curr.Next = null;
     return(currNext.ToString());
 }
        public void print()
        {
            string line = "";

            curr = last;
            while (curr.Next != null)
            {
                line += curr + " ";
                curr  = curr.Next;
            }
            line += curr + " ";
            Console.WriteLine(line);
        }
 public QueueStringLinkedList(string data)
 {
     last = new QueueStringNode(data);
 }