Example #1
0
 public Account(string customerName)
 {
     CustomerName = customerName;
     AccountState = new BronzeState(1000.0, this);
     Console.WriteLine(CustomerName + " Opend Account with Deposit RS." + AccountState.Balance + "/-. Account State: " +
                       AccountState.StateName);
 }
Example #2
0
 public Account(string customerName)
 {
   CustomerName = customerName;
   AccountState = new BronzeState(1000.0, this);
   Console.WriteLine(CustomerName + " Opend Account with Deposit RS." + AccountState.Balance + "/-. Account State: " +
                     AccountState.StateName);
 }