Exemple #1
0
 /// <summary>
 /// Runs the foodchain, that is, carnivores are eating herbivores.
 /// </summary>
 public void RunFoodChain()
 {
     _carnivore.Eat(_herbivore);
 }
 public string RunFoodChain()
 {
     return(carnivore.Eat(herbivore));
 }