Exemplo n.º 1
0
 static void FeedHerbivores(IHerbivores herbivores)
 {
     herbivores.FindFood();
     herbivores.EatPlant();
 }
Exemplo n.º 2
0
 public void FeedingOneHerbivore(IHerbivores herbivore)
 {
     herbivore.FindFood();
     herbivore.EatThePlant();
 }