static void Main(string[] args) { Duck objDuck = new MallardDuck(); objDuck.Fly(); objDuck.Quack(); Console.WriteLine("Change In Requirement"); objDuck.flyBehaviour = new CantFly(); objDuck.Fly(); objDuck.Quack(); Console.ReadLine(); }