2015 | OriginalPaper | Chapter
6. Understanding Inheritance and Polymorphism
Published in:
C# 6.0 and the .NET 4.6 Framework
Abstract
Chapter 5 examined the first pillar of OOP: encapsulation. At that time, you learned how to build a single well-defined class type with constructors and various members (fields, properties, methods, constants, and read-only fields). This chapter will focus on the remaining two pillars of OOP: inheritance and polymorphism.