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

            circle.Add(moneyTime);

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

            circle.Add(moneyTime);

            if (circle.Count == 1)
                circle.Add(moneyTime);
        }