class GrandParent
{
public virtual void Foo() { ... }
}
class Parent : GrandParent
{
public override void Foo()
{
base.Foo();
//Do additi
No. It wouldn't be reliable anyway. You, as the implementer of your class, get to choose your immediate base class. But who is to say that a later release of Parent
might not inherit from ParentBase
, that in turn inherits from GrandParent
? So long as Parent
is still implementing the correct contract, this should not cause any issues for those classes inheriting from Parent
.