Common Type System—Styles of Inheritance


Jump to: navigation, search
Visual C# Tutorials
.NET Framework Tutorials

Common Type System

© 2006 Wiley Publishing Inc.

Styles of Inheritance

There are two primary styles of inheritance available in the CTS: implementation and interface inheritance. Which you use does not impact the ability to treat subtypes in a polymorphically safe manner. The primary difference is the way in which subclasses receive copies of base type members. We’ll see what this means below. Private interface inheritance is also supported, although private implementation inheritance is not.



Previous_Page_.gif Next_Page_.gif





Personal tools