public MyQueueWithStacks() { newestFirst = new MyStack <T>(); oldestFirst = new MyStack <T>(); n = new Stack <int>(); }
public MyStackWithMin(int data) : base(data) { stackOfMins = new MyStack <int>(data); }