Loading
In .NET, interfaces are a fundamental concept that allows you to define a contract that classes must adhere to. They are used to define a set of method signatures (and properties) that any class implementing the interface must provide. Interfaces provide a way to achieve polymorphism, where different classes can be treated as instances of a common interface.
Editorial changes — reviews, status changes and edits — are shown to the author of this article and to the editors.