private int GetTopValue() { if (Discs.Count == 0) { return(0); } return(Discs.Peek()); }
public bool Give(Tower acceptor) { if (acceptor.Push(Discs.Peek())) { Discs.Pop(); return(true); } return(false); }