Application Development Using Visual Basic® and .NET
by Robert J. Oberg, Peter Thorsteinson, Dana L. Wyatt
Interfaces
Interface is a very fundamental concept in computer programming. A large system is inevitably decomposed into parts, and it is critical to precisely specify the interfaces between these parts. Interfaces should be quite stable, as changing an interface affects multiple parts of the system. In VB.NET, Interface is a keyword and has a very precise meaning. An interface is a reference type, similar to an abstract class, which specifies behavior as a set of methods, properties, and events.[2] An interface is a contract. When a class or structure implements an interface, it must adhere to that contract.
[2] We discuss events later in this chapter.
Interfaces are a useful way to partition functionality. You should first specify interfaces ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access