예제 #1
0
 public override void Eat(Herbivore h)
 {
     // Eat Wildebeest
     Console.WriteLine(string.Format("{0} eats {1}", this, h));
 }
예제 #2
0
 public abstract void Eat(Herbivore h);