Пример #1
0
 public static void TransferAnimal(Animalz animalToTransfer, Zoo currentZoo, Zoo newZoo)
 {
     currentZoo.animals.Remove(animalToTransfer);
     newZoo.BringAnimal(animalToTransfer);
 }
Пример #2
0
 public void BringAnimal(Animalz newAnimal)
 {
     animals.Add(newAnimal);
 }