ECMA-334: 20. Interfaces

Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio


Jump to: navigation, search
C# Language Specification
© 2006 ECMA International

20. Interfaces

An interface defines a contract. A class or struct that implements an interface shall adhere to its contract. An interface can inherit from multiple base interfaces, and a class or struct can implement multiple interfaces.

Interfaces can contain methods, properties, events, and indexers. The interface itself does not provide implementations for the members that it declares. The interface merely specifies the members that shall be supplied by classes or interfaces that implement the interface.


Today's Deals: Electronics

Personal tools