Пример #1
0
 public T Pop()
 {
     if (CurrentStorage == 'ㅇ')
     {
         var res = _queue[0];
         _queue.RemoveAt(0);
         return(res);
     }
     else
     {
         return(CurrentStack.Pop());
     }
 }
 public void Pop()
 {
     CurrentStack.Pop();
 }