Summary

As you can see, starting with inheritance is not difficult. However, the challenge comes when you design your components and your object model. Inheritance is quite powerful, but you must intelligently define your base classes to make them broad enough to be inheritable, but general enough to be useful to many derived classes.

Inheritance is available across .NET languages, as you saw in the visual inheritance section. Visual inheritance is a powerful technique for gaining a common set of functionality across all the forms in your application. Gone are the days of having to fake form inheritance by creating new class modules that controlled the appearance of the forms, and using control arrays to create new controls programmatically. ...

Get A Programmer's Introduction to Visual Basic® .NET 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.