CSharp_AbstractClass.Program.Main C# (CSharp) Метод

Main() статический приватный Метод

static private Main ( string args ) : void
args string
Результат void
        static void Main(string[] args)
        {
            B b = new B();
            b.WriteTextToConsole("B");
            b.MustBeImplemented("B");

            //A a = new A();

            A a = new B();
            a.WriteTextToConsole("A");
            a.MustBeImplemented("A");

            Console.ReadKey();
        }
Program