Access Modifiers for Types in C sharp Arabic #50
Suggested Videos
❑ About the Access Modifiers that can be applied for types.
Internal and Protected Internal
In C# there are 5 different access modifiers.
1-Private.
2-Public.
3-Protected.
4-Intereal.
5-Protected Internal.
You can use all the 5 access modifiers with type members, but types allows only internal and public access modifiers. It is a compile time error to use private, protected internal access modifiers with types.
Tags:
C sharp