Example #1
0
        private string CalculateBalance()
        {
            var income   = 0.00M;
            var expenses = 0.00M;

            Incomes.ForEach(x => income    += x.Value);
            Expenses.ForEach(x => expenses += x.Value);
            return((income - expenses).ToString());
        }