internal Enumerator(SegmentedStack <T> stack) { _stack = stack; _index = -2; _activeSegmentBase = _stack._activeSegmentBase; _currentElement = null; }
public StackSegment(SegmentedStack <T> stack, int resetPosition) { _stack = stack; _resetPosition = resetPosition; }