Advertisement

Pro C# 7 pp 213-254 | Cite as

Understanding Inheritance and Polymorphism

  • Andrew Troelsen
  • Philip Japikse
Chapter

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.

Copyright information

© Andrew Troelsen and Philip Japikse 2017

Authors and Affiliations

  • Andrew Troelsen
    • 1
  • Philip Japikse
    • 2
  1. 1.MinneapolisUSA
  2. 2.West ChesterUSA

Personalised recommendations