C#-Constructors,Static Constructors and Destructors in Inheritance

added by jalpesh
3/20/2010 1:26:05 PM


While taking interview for .NET Technologies i often ask about the execution sequence of the constructor and destructor in inheritance but from the my experience still i have found that lots of people are confused with execution sequence of constructor and destructors. Lets create a simple example and learn some basic things that is very important while using inheritance in C#.Constructors will be executed in from parent to child sequence means first parent class constructor will be executed then after t...