예제 #1
0
        static void Main()
        {
            AbstractClass instance = new ConcreteClass();

            instance.Method();

            // Delay.
            Console.ReadKey();
        }
예제 #2
0
        static void Main(string[] args)
        {
            AbstractClass instance = new ConcreteClass();

            instance.Method();


            Console.ReadLine();
        }
예제 #3
0
        static void Main()
        {
            AbstractClass instance = new ConcreteClass();

            instance.Method();

            // Delay.
            Console.ReadKey();
        }
예제 #4
0
        static void Main(string[] args)
        {
            AbstractClass concreteClass = new ConcreteClass();

            concreteClass.Method();
        }