Beispiel #1
0
 public Add(ZooSim.Zoo zoo, params string[] nameAndAge)
 {
     _name    = nameAndAge[0];
     _        = Int32.TryParse(nameAndAge[1], out _age);
     _animals = zoo.Animals;
     _account = zoo.Account;
 }
Beispiel #2
0
 public Zoo()
 {
     Animals = new ZooAnimals();
     Account = new Account(1000.00m);
 }
Beispiel #3
0
 public PayLoan(IZooAccount account, params string[] paramArr)
 {
     _account = account;
     _        = decimal.TryParse(paramArr[1], out _amount);
 }