LANGUAGE
Implicit interface implementation
Maps a public compatible class member to an interface member.
Formal Syntax & Structure
csharp syntaxcsharp
class Rate : IRate { public int Fee(int count) => 5; }Working Example
Example Snippetcsharp
class FlatRate : IShippingRate { public int Fee(int boxes) => 6; }