public ModelDuck() { QuackBehavior = new Quack(); FlyBehavior = new FlyNoWay(); }
public ModelDuck() { Console.WriteLine("I'm rubber duck"); flyable = new FlyNoWay(); quackable = new Quack(); }