Example #1
0
        public static void Main(string[] args)
        {
            Console.WriteLine("Invoking SubClass()");
            SubClass sc1 = new SubClass();

            Console.WriteLine("\ninvoking SubClass(1, 2)");
            SubClass sc2 = new SubClass(1, 2);

            // Wait for user to acknowledge.
            Console.WriteLine("Press Enter to terminate...");
            Console.Read();
        }
Example #2
0
        public static void Main(string[] args)
        {
            Console.WriteLine("Invoking SubClass()");
            SubClass sc1 = new SubClass();

            Console.WriteLine("\ninvoking SubClass(1, 2)");
            SubClass sc2 = new SubClass(1, 2);

            // Wait for user to acknowledge.
            Console.WriteLine("Press Enter to terminate...");
            Console.Read();
        }