Object-oriented programming (OOPs) Question:

What is Protected Internal access modifier in C#?

Tweet Share WhatsApp

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 PDF Read All 37 OOP Questions
Previous QuestionNext Question
Can we specify the access modifier for explicitly implemented interface method?What is Protected access modifier in C#?