private static void MakePetSpeak(ITrainer trainer) { var animalSound = trainer.MakePetSpeak(); Console.WriteLine(animalSound); }