Beispiel #1
0
        public T Pop()
        {
            T temp = Peek();

            _front = _front.Next;
            _size--;
            return(temp);
        }
Beispiel #2
0
        public void Push(T x)
        {
            LinkedListCell <T> newCell = new LinkedListCell <T>();

            newCell.Data = x;
            newCell.Next = _front;
            _front       = newCell;
            _size++;
        }