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