Lecture overview -- Keyboard shortcut: 'u'  Previous page: Inheritance in C# [Section] -- Keyboard shortcut: 'p'  Next page: The top of the class hierarchy -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home    Specialization, Extension, and Inheritance - slide 21 : 40

Class Inheritance in C#
class-modifier class class-name: super-class-name{
class A {}

class B: A {}
B is said to be a subclass of A, and A a superclass of B. A is also called the base class of B.