public void add(MoneyTime moneyTime) { if (circle.Count >= 2) { circle.RemoveAt(1); } circle.Add(moneyTime); if (circle.Count == 1) { circle.Add(moneyTime); } }
public void add(MoneyTime moneyTime) { if (circle.Count >= 2) circle.RemoveAt(1); circle.Add(moneyTime); if (circle.Count == 1) circle.Add(moneyTime); }