static void Four() { var hugo = new Cat("Hugo"); var fisker = new Cat("Fisker"); hugo.Eat(fisker); // ------------------ var baltazar = new Cat("Baltazar", true); baltazar.Talk(); fisker.Talk(); baltazar.Eat(fisker); fisker.Talk(); }
static void Two() { var hugo = new Cat("Hugo", true); hugo.Talk(); }
static void One() { var hugo = new Cat("Hugo"); hugo.Talk(); }