예제 #1
0
 public double GetBalance()
 {
     if (myAccount == null)
     {
         myAccount = new Account();
     }
     return(myAccount.GetBalance());
 }
 public double GetBalance()
 {
     if (myAccount == null)
     {
         myAccount = new Account();
     }
     return myAccount.GetBalance();
 }
예제 #3
0
 public StatementInformer(IBalanceInformation account)
 {
     myAccount = account;
 }
 public StatementInformer(IBalanceInformation account)
 {
     myAccount = account;
 }