private void testDuck(IDuck duck) { duck.Quack(); duck.Fly(); }
static void TestDuck(IDuck duck) { duck.Mop(); duck.Fly(); }
public void Fly() { _duck.Fly(); Console.WriteLine("short distance"); }
public void Fly() { Console.WriteLine("Can't stop flying."); _duck.Fly(); }
private static void Action(IDuck duck) { duck.Fly(); duck.Quack(); }
public void TestDuck(IDuck iDuck) { iDuck.GuaGua(); iDuck.Fly(); }
public void Run() { duck.Quack(); duck.Fly(); }
private static void DuckClient(IDuck duck) { Console.WriteLine(duck.Quack()); Console.WriteLine(duck.Fly()); }
static void TestDuck(IDuck d) { d.Fly(); d.Quack(); }
public static void GetInfo(IDuck duck) { duck.Quack(); duck.Name(); duck.Fly(); }
static void TestDuck(IDuck duckInterface) { duckInterface.Quack(); duckInterface.Fly(); }
private static void Tester(IDuck duck) { duck.Fly(); duck.Quack(); Console.WriteLine("Here the method called is Quack that belongs to Duck \n"); }
public void WorkWithDuck(IDuck duck) { duck.Quack(); duck.Fly(); }
private static void TestDuck(IDuck duck) { duck.Quack(); duck.Fly(); Console.WriteLine(); }
public static void TestDuck(IDuck duck) { duck.Quack(); duck.Fly(); }
static void Info(IDuck duck) { duck.Display(); duck.Fly(); duck.Quack(); duck.Swim(); Console.WriteLine(); }
public static void TestDuck(IDuck voDuck) { voDuck.Quack(); voDuck.Fly(); }
public void Fly() { // NOTE: как решить проблему, что утки летают дальше, чем индюшки? _duck.Fly(); }
public void Fly() { _duck.Fly(); }
static void TestDuck(IDuck duck) { duck.Quack(); duck.Fly(); }
private static void TestDuck(IDuck duck) { duck.Quack(); duck.Fly(); }
private static void DoFly(IDuck duck) { duck.Fly(); }