static void Main() { Fruit f = new Fruit(); Apple a = new Apple(); Orange o = new Orange(); f.eat(); a.eat(); o.eat(); Console.ReadKey(); }