Interface Implementation and Inheritance

Learn how base classes, abstract classes, and derived classes interact when implementing interfaces.

A class does not always need to explicitly implement interface members. If a class inherits a public method matching the interface signature, that inherited method satisfies the contract.

Base class implementation

Consider a MultimediaFile class that implements IDownloadable. If it inherits from UserFile, and UserFile already has a Download() method, MultimediaFile does not need to re-implement it.