Inheritance and Generics in Interfaces
Learn about generic interfaces and inheritance between interfaces.
We'll cover the following...
Inheritance in interfaces
Classes implement interfaces, but interfaces can derive from other interfaces. Everything we learned about inheritance is applicable to interfaces, except that iInterfaces can’t be marked as sealed
.
There’s no way to prevent interfaces from inheriting from other interfaces. Also, when we implement an interface, we must implement all members that the interface inherited from its base interfaces: ...
Access this course and 1400+ top-rated courses and projects.