コード例 #1
0
 public static void Deposite(IAccount account, double amount)
 {
     Console.WriteLine(account.Deposite(amount) + " balance : {0} ",
                       Math.Round(account.BalanceCheck()));
 }
コード例 #2
0
 public static void Withdraw(IAccount account, double amount)
 {
     Console.WriteLine(account.Withdraw(amount) + " balance : {0} ",
                       Math.Round(account.BalanceCheck(), 2));
 }