是否可以在子类的构造函数中的特定点调用基本构造函数,例如:
public class SuperClass
{
public SuperClass(Object myObject)
{
// init some values ...
}
}
public class SubClass: SuperClass
{
public SubClass(): base(Object myObject)
{
//Check some preconditions
base(myObject);
// Do some other stuff
}
}