What Does Interface Mean?

Techopedia Explains Interface

  • It can be declared within a name space or a class.Its members can be a method, property, event or indexer, but cannot be a constant, field, operator, instance constructor, destructor, type or static member.It cannot be instantiated as an object and cannot be defined with data members.Unlike a class that can inherit only one base class and multiple interfaces, an interface can inherit multiple interfaces only.An interface member has public access by default, which cannot be modified using any access modifiers.Modifiers, such as virtual, override or static, should not be used with an interface member.An interface can be accessed using its fully qualified name, which includes the interface name followed by a dot and the member name.An interface member with the “new” modifier can be used to hide an inherited member with the same name.