Object-oriented programming (OOPs) Question:
Download Questions PDF

What is Protected Internal access modifier in C#?

Answer:

Protected Internal is a access modifiers for the members (methods or functions) ie. you can't declare a class as protected internal explicitly. The members access is limited to the current assembly or types derived from the containing class.

Protected Internal means the method is accessible by anything that can access the protected method UNION with anything that can access the internal method.

Download OOP Interview Questions And Answers PDF

Previous QuestionNext Question
Can we specify the access modifier for explicitly implemented interface method?What is Protected access modifier in C#?