public void VisitMonkey(Monkey monkey)
 {
     monkey.Shout();
 }
 public void VisitMonkey(Monkey monkey)
 {
     Console.WriteLine("Walked on water a little and disappeared!");
 }
예제 #3
0
 public void VisitMonkey(Monkey monkey)
 {
     Console.WriteLine("Jumped 20 feet high! on to the tree!");
 }