Пример #1
0
 public override void Play(Toy t)
 {
     Console.WriteLine("{0} is eating toy: ", this.Name);
     t.Eat();
 }
Пример #2
0
 abstract public void Play(Toy t);