コード例 #1
0
        public T Dequeue()
        {
            if (list.Head == null)
            {
                throw new System.Exception("Empty Queue");
            }

            var result = list.DeleteLast();

            Count--;
            return(result);
        }