Beispiel #1
0
        static void Test(Account account, int months = 12)
        {
            Console.WriteLine(account.Customer);

            for (int i = 1; i < months; i++)
                Console.WriteLine(account.CalculateInterest(i));

            Console.WriteLine();
        }