Data Structures and Algorithms with Object-Oriented Design Patterns in C#
next up previous contents index

Inheritance

In C# one class may be derived from another. The derived class inherits all the fields and the methods of the base class or classes. In addition, inherited methods can be overridden in the derived class and new fields and functions can be defined. You should understand how the compiler determines the code to execute when a particular method is called.


next up previous contents index

Bruno Copyright © 2001 by Bruno R. Preiss, P.Eng. All rights reserved.