Wednesday, October 27, 2010

Interface cannot contain data fields - they can contain only abstract properties.

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.

No comments:

Post a Comment