예제 #1
0
 public void Visit(RedHead redHead)
 {
     Console.WriteLine("RedHead duck can fly like a Zig-Zag");
 }
예제 #2
0
 public void Visit(RedHead redHead)
 {
     Console.WriteLine("RedHead Duck is flying like a rocket");
 }