private static void Main(string[] args) { var knight = new Knight(); var king = new King(); var cow = new Cow(); knight.Attack(); knight.Greet(); knight.GreetingBehaviour = new HelloGreeting(); knight.Greet(); knight.Walk(); cow.Walk(); cow.Greet(); }