We have the following access modifiers available in C#.
- Public
- Private
- Protected
- Internal
- Protected Internal
- A Class has default Modifier as Internal ,An Interface has default Modifier as Public, An enum has default Modifier as Public, A struct has default Modifier as Internal
No comments:
Post a Comment