Home > Software > .NET > C-Sharp
Interview Questions   Tutorials   Discussions   

C-Sharp - Explain about protected and protected internal

asked mar October 4, 2014 05:08 AM  

Explain about protected and protected internal


1 Answers

answered By siddhant   0  

Protected Access Specifiers

The protected access specifier hides its member variables and functions from other classes and objects. This type of variable or function can only be accessed in child class. It becomes very important while implementing inheritance.

Protected Internal Access Specifiers

The protected internal access specifier allows its members to be accessed in derived class, containing class or classes within same application. However, this access specifier rarely used in C# programming but it becomes important while implementing inheritance.

   add comment

Your answer

Join with account you already have



Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!