static void Main() { AbstractClass instance = new ConcreteClass(); instance.Method(); // Delay. Console.ReadKey(); }
static void Main(string[] args) { AbstractClass instance = new ConcreteClass(); instance.Method(); Console.ReadLine(); }
static void Main() { AbstractClass instance = new ConcreteClass(); instance.Method(); // Delay. Console.ReadKey(); }
static void Main(string[] args) { AbstractClass concreteClass = new ConcreteClass(); concreteClass.Method(); }