What is the difference between protected and protected internal?

Answer Posted / mahi

Protected Internal: it's similar to Protected access
specifier, it also allows a class to hide its member
variables and member function to be accessed from other
class objects and function, excepts child class, within the
application. used while implementing inheritance.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's the difference between a method and a procedure?

479


What is difference between abstract class and interface in c#?

471


What is eager loading in c#?

465


What is the difference between int16 and int32 in c#?

474


What does using system mean in c#?

492






To catch any possible exception What is the C# syntax written ?

536


write a program to find the biggest palindrome in the given string

546


How do I unload an assembly?

517


what class is underneath the sortedlist class?

549


What is generic delegates in c#?

523


What are classes in c#?

577


Explain the difference between “as” and “is” operators used in c#?

498


Which of these string definitions will prevent escaping on backslashes in c#?

567


What is the difference between a field and a property in c#?

490


What is the use of command builder?

535