예제 #1
0
 static void testDuck(Duck duck)
 {
     System.Console.WriteLine(duck.quack());
     System.Console.WriteLine(duck.fly());
 }
예제 #2
0
 public void Google()
 {
     duck.quack();
 }
예제 #3
0
 static void testDuck(Duck duck)
 {
     duck.quack();
     duck.fly();
 }
예제 #4
0
 static void testDuck(Duck duck)
 {
     duck.quack();
     duck.fly();
 }