static void Main(string[] args) { AbstractBase obj = new Derived(); obj.AbstractMethodA(); obj.PublicMethodA(); }