If you have a base class lets call it "a" and you have another class "b" that inherits class "a". "a" has three constructors. When I create a new instance of "b" will "a" first constructor always be the one that fires? Because it certainly seems like it is.
In other words when the line below executes which of the following three constructors will fire?
a b = new a("myvalue");
public class a{
a()
{
}
a(string myvalue)
{
}
a(string myvalue, string myvalue2)
{
}
}
In other words when the line below executes which of the following three constructors will fire?
a b = new a("myvalue");
public class a{
a()
{
}
a(string myvalue)
{
}
a(string myvalue, string myvalue2)
{
}
}