C#: Interface-Based Programming
Interfaces can make your applications easier to test and maintain.
- By Patrick Steele
Interfaces help define a contract, or agreement, between your application and other objects. This agreement indicates what sort of methods, properties and events are exposed by an object. But interfaces can be utilized for much more. Here, we’ll look at how interfaces can help make your applications and components easier to test.