Ejemplo n.º 1
0
 public static string RehabilitateAnimal(Animal animal)
 {
     RehabilitatedAnimals.AppendLine(animal.ToString());
     rehabilitatedAnimalsCount++;
     return $"Patient {++totalAnimalsCount}: [{animal.Name} ({animal.Breed})] has been rehabilitated!";
 }
Ejemplo n.º 2
0
 public static string HealAnimal(Animal animal)
 {
     HealedAnimals.AppendLine(animal.ToString());
     healedAnimalsCount++;
     return $"Patient {++totalAnimalsCount}: [{animal.Name} ({animal.Breed})] has been healed!";
 }