What is the difference between protected and protected internal?
Answer Posted / manu
protected is really protected inside and outside the assembly (protected internal / protected external) (not allowed on top level classes)
protected internal is really public inside the assembly but protected outside the assembly (public internal / protected external) (not allowed on top level classes)
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between a variable and a literal?
Explain what are the steps for creating clr trigger?
Why extension method is static?
What are primitive types in c#?
What is a datacontract?
What is the advantage of static class in c#?
What is the main method in c#?
How can we set the class to be inherited, but prevent the method from being over-ridden?
What is Global Assembly Cache (GAC) and what is the purpose of it? (How to make an assembly to public? Steps) How more than one version of an assembly can keep in same place?
List the differences between method overriding and method overloading?
what is method overloading in c#?
What are class fields?
Explain About stateless and state full web service
What is xaml file in c#?
When To use HashTable In C#