July 2003
Intermediate to advanced
736 pages
16h 35m
English
Interfaces define what is referred to as a contract. Literally, an interface is a type that contains method, property, or event headers only, with no implementations. Interfaces can be inherited, which is a way of extending the contract, and interfaces can be implemented.
Interfaces themselves are never created, nor are they ever fleshed out and provided with an implementation. When a Visual Basic .NET class accepts an interface contract, the class must implement every member defined in the interface. This is the crux of the contractual obligation.
Some basic guidelines for defining interfaces exist to support the expectations consumers will have when they use your interfaces. Some of these guidelines are ...
Read now
Unlock full access