Depends on what kind of constructor it is - if it is the default constructor
(i.e. constructor with no parameters) then you can't override the parent's
constructor, it will always execute. If it is a non-default constructor then
it is automatically overriden unless you call it using the "base" keyword.
Note that the default constructor of the parent is always called regardless
of what kind of constructor is being invoked of the child class. Also,
whenever a base-class constructor executes, it does so before the inherited
class constructor is run.
Hope that helps,
~amit
"ad" <ad@wfes.tcc.edu.tw> wrote in message
news:uJ**************@TK2MSFTNGP09.phx.gbl...
When a class (say class1) inherited form another class (Class0).
The constructor in the class0 will be executing before the constructor of
class1.
Can we over the constructor?