Describe the accessibility modifier "protected internal" in C#.- The Protected Internal access modifier can be accessed by:
a. Members of the Assembly b. The inheriting class c. The class itself
- Its access is limited to the types derived from the defining class in the current assembly or the assembly itself.
- It can be accessed by any code in the assembly in which it is declared or from within a derived class in another assembly.
- It allows its members to be accessed in a derived class, containing class or classes within the same application.
- It becomes important while implementing inheritance.
|