A class inherits the members of its direct base class. Inheritance means that a class implicitly contains all members of its direct base classexcept for the instance constructors, distructors and static constructors of the base class. Some important aspects of inheritance are: Inheritance is transitive: If C is derived from B, and B is derived [...]
↧