public string PopStack() { if (_stack.Count == 0) { return Guid.NewGuid().ToString(); } return _stack.Pop(); } }