Interfaces
describe a
group of related functionalities that can belong to any
class or struct
.
You define an interface by using the
interface keyword
Interfaces
consist of
methods, properties, events, indexers, or any combination of those four member types.
An interface
cannot contain constants, fields, operators, instance constructors, destructors, or types. It cannot contain static members.
Interfaces members are
automatically public, and they cannot include any access modifiers.
Read detailed description on MSDN:
Interfaces (C# Programming Guide)[
^]
..and more details
here[
^]
The C# Station Tutorial[
^]
Similar QA:
why use interfaces?[
^]