Interface
Syntax
type [accessibility-modifier] interface-name =
abstract memberN : [ argument-typesN -> ] return-typeN[<Interface>]
type IPrintable =
abstract member Print : format: string -> unittype IMarker = interface endImplementation
Default implementation
F♯ interface is explicit
Implementing a generic interface
Inheritance
Last updated