A class can inherit from a
�Every interface member (method, property, indexer) must be implementedor inheritedfrom a base class.
�Implemented interface methods must notbe declared as override.
�Implemented interface methods can be declared virtualor abstract(i.e. an interface can be implemented by an abstract class).single base class, but implement multiple interfaces.A struct cannot inherit from any type, but can implement multiple interfaces.
No comments:
Post a Comment