Inheriting Classes
Inheritance is a big subject. VB .NET supports single inheritance. This means that a new class can inherit an existing class. This can happen over and over again, layering in new capabilities and functionality every time a new class is created from an existing class. In fact, the entire Common Language Runtime (CLR) inherits from at least one other class, the Object class.
We need to discuss several things so you can get the greatest benefit from inheritance. A good place to start is terminology. Several terms are associated with inheritance, and using them in discourse promotes concise communication. Unfortunately several terms are synonyms, which lends to confusion. Let's take a minute to review the terminology associated ...
Get Visual Basic® .NET Power Coding 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.