Order of Constructor and Destructor call in C# – Interview QA

(Last Updated On: April 8, 2017)

Answer: Order of execution of constructor and destructor call in c# inheritance: Constructor call is from top to bottom i.e. from base class to derive class and destructor call is in reverse order i.e. from bottom to top.

C# code Example : Order of execution of Constructor and Destructor



Constructor: Base

Constructor: DerivedOne

Constructor: DerivedTwo

Destructor: DerivedTwo

Destructor: DerivedOne

Destructor: Base