- An interface is like an abstract base class: any non-abstract type that implements the interface must implement all its members.
- An interface cannot be instantiated directly.
- Interfaces can contain events, indexers, methods, and properties.
- Interfaces contain no implementation of methods.
- Classes and structs can implement more than one interface.
- An interface itself can inherit from multiple interfaces.
No comments:
Post a Comment