Facts About Interfaces

1. Interface can'nt have member fields(variables).
2. It can have only method, property, event and indexer as its member.
3. Can'nt use access modifier with members.
4. All members are public abstract by default so can'nt declare them public abstract explicitly.
5. In the implementation class all the member of the interface should be implemented and they can have only public access modifier.
6. If implementation class does not implement any one of the members of the interface then that member and the implementation class both should be declared abstract.

No comments: