Showing posts with label constructors. Show all posts
Showing posts with label constructors. Show all posts

Friday, January 25, 2008

Another question....

class A
{
public A()
{
Console.WriteLine("Me A");
}
}
class B : A
{
public B()
{
Console.WriteLine("Me B");
}
}

If an object of class B is created which constructor will fire first?