If I have a class with two base classes :
public partial MyClass : Base1, Base2 {
}
To call the constructor of Base1 I would do this:
public MyClass() : base(myParamForBase1);
But I need to call the second base class to get the base init value like this:
base.OnInit(e);
I cannot do the above of course because C# thinks I'm referring to Base1 not Base2, how do I resolve this? In other words how can I refer to Base2?
C# does not support multiple class inheritance. You can only implement multiple interfaces, and inherit from (extend) a single base class.