Exemplo n.º 1
0
 public void PayInterest()
 {
     _currentState.PayInterest();
     Console.WriteLine("Interest paid----");
     Console.WriteLine("Balance: {0:C}", Balance);
     Console.WriteLine("Status: {0}", _currentState.GetType().Name);
     Console.WriteLine();
 }
 public void PayInterest()
 {
     _accountState.PayInterest();
 }