예제 #1
0
 private MyStack(MyStack <T> previousStack, T item, int count)
 {
     _previousStack = previousStack;
     _count         = count;
     _item          = item;
 }
예제 #2
0
 public MyStack()
 {
     _previousStack = null;
     _count         = 0;
     _item          = default(T);
 }