C Sharp - Interface
- By default Interface is Internal
- All interface members are implicitly public and abstract so the members of the interface never specify access modifier.
- Interfaces do not have an implementation of members(protocol). so interfaces cannot have data fields and also interfaces do not have constructors.
- It is illegal to allocate Interface types.
- Interfaces has read/write properties
- Interfaces can contain event and indexer definitions.
No comments:
Post a Comment