public StackEnumerator(Stack <T> q) { q.CopyTo(Collection, 0); curIndex = -1; curElem = default(T); }