Hi Alex,
Yes in that case is the same, he thing is that if you do not especify a
constructor to call the compiler takes the default one.
A similar thing will happen if the Base class does not defined any
constructor, in this case the compiler create one and everything is as
explained.
Now a different thing happen when you declare a constructor in Base taking a
parameter. in this situation you MUST declare a default constructor
otherwise the compiler will give you error.
A couple of examples:
class A
{
}
class B:A
{
B(){}
}
this will compile ok, cause the compiler will generate the constructor for A
but this:
class A
{
public A(int b){}
}
class B:A
{
B(){}
}
will give you this error: " No overload for method 'A' takes '0' arguments"
Hope this help,