public bool Pop () { if (stack.Count > 0) { SetCurrent (stack.Pop ()); return true; } return false; }