Пример #1
0
        static void Main(string[] args)
        {
            Base b = new Derived();

            b.AbstractMethod();
        }
        static void Main(string[] args)
        {
            Derived derived = new Derived();

            Console.WriteLine(derived.MyMethod());
        }