LANGUAGE
Interface declaration
Defines an interface contract containing a method without a body.
Formal Syntax & Structure
csharp syntaxcsharp
interface IRate { int Fee(int count); }Working Example
Example Snippetcsharp
interface IShippingRate { int Fee(int boxes); }