Exemple #1
0
 public static void PrintInterest(Account acc, decimal months = 6)
 {
     Console.WriteLine("{0} \r\nInterest after {1} months: {2}", acc, months, acc.GetInterest(months).ToString("C"));
 }