Constructor Call Hierarchy among Inheritance

Case: Assume we have a base class with a private data member and a default constructor and a derived class with private data member and its own default constructor, if we create object for derived class, first base class constructor will be called followed by derived class constr

C# (49.1 KB)
5 Star
901 times
Add to favorites
E-mail Twitter Digg Facebook