Generic Types and Inheritance

Learn to extend generic classes by creating derived types that maintain, fix, or expand upon the base type parameters.

Generic types can be inherited, and generic types can inherit from other classes. We will explore several possible scenarios using our generic Holder<T> class for our examples.

First, we define the base class used throughout this lesson.