1.

What Does Protected Internal Access Modifier Mean?

Answer»

The protected internal ACCESS MEANS protected OR internal, not protected AND internal. In simple terms, a protected internal member is accessible from any class in the same assembly, INCLUDING DERIVED classes. To limit accessibility to only derived classes in the same assembly, declare the class itself internal, and declare its MEMBERS as protected.

The protected internal access means protected OR internal, not protected AND internal. In simple terms, a protected internal member is accessible from any class in the same assembly, including derived classes. To limit accessibility to only derived classes in the same assembly, declare the class itself internal, and declare its members as protected.



Discussion

No Comment Found