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