예제 #1
0
 public void ClearAll()
 {
     Count = 0;
     Head  = null;
 }
예제 #2
0
 public StackNode(T itemToStore, StackNode <T> next = null)
 {
     Item = itemToStore;
     Next = next;
 }
예제 #3
0
 public Stack()
 {
     Head = null;
 }