I have two classes, one derived from the other and both have parametrized constructors. I want to call the constructor in both classes when I instantiate the derived class.
So my question is: what is the syntax to pass parameters to both base and derived classes from the calling code?
I tried something like this but it does not compile:
DerivedClass derivedclass = new DerivedClass(arguments):base( arguments);