Пример #1
0
 public void CallTheDog(Dog dog)
 {
     Console.WriteLine("Come, {0} !", dog.Name);
 }
Пример #2
0
 public void WagTheDog(Dog dog)
 {
     dog.Bark();
 }