Chapter 5. Class Inheritance
Inheritance is one of the core concepts in object-oriented programming and in the .NET framework. Inheritance is the idea that a developer can create a class to serve as a building block for other classes. When a class inherits from another class it gains all the methods from the class it inherited from. The class the author inherits from is referred to as the base class. The class that inherits from the base is referred to as the derived class or the child class.
In this chapter you will learn how to inherit from another class and what happens when both the base and the derived class have a method with the same name.
Another feature related to inheritance that is crucial in object-oriented programming is polymorphism. ...
Get C# Web Development with ASP.NET: Visual QuickStart Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.