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
(1)
899 times
Add to favorites
4/12/2011
E-mail Twitter del.icio.us Digg Facebook