public DialogStep pop() { DialogStep o = stack[stack.Count - 1]; stack.RemoveAt(stack.Count - 1); return(o); }
public void push(DialogStep ob) { stack.Add(ob); }