static void testDuck(Duck duck) { System.Console.WriteLine(duck.quack()); System.Console.WriteLine(duck.fly()); }
static void testDuck(Duck duck) { duck.quack(); duck.fly(); }
static void TestDuck(Duck duck) { duck.Fly(); duck.Quack(); }
public DuckAdapter(Duck duck) { this.duck = duck; }