예제 #1
0
 public void CallTheDog(Dog dog)
 {
     Console.WriteLine("Come, {0} !", dog.Name);
 }
예제 #2
0
 public void WagTheDog(Dog dog)
 {
     dog.Bark();
 }