This is taken directly from C# reference document from Microsoft (I recommend reading it)
- An interface declaration may declare zero or more members.
- The members of an interface must be methods, properties, events, or indexers.
- An interface cannot contain constants, fields, operators, instance constructors, destructors, or types, nor can an interface contain static members of any kind.
No comments:
Post a Comment