Chapter 18. Interfaces

In this chapter you will learn about a new and very important object-oriented concept: interfaces. We will discuss the following topics:

You will begin by learning what interfaces are and what are the differences between implementing an interface and inheriting from another class. You will continue with a few examples of how to use interfaces, including some of the most common .NET Framework interfaces.

We will then discuss interface inheritance, interfaces that inherit from other interfaces. You will also look at examples and discuss when it is better to use interfaces and when it is not.

In the final part of the chapter we will ...

Get Visual Basic® .NET by Example 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.