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 use of convert toint32 in c#?
What is the meaning of MSIL?
Write one code example for compile time binding and one for run time binding? What is early/late binding?
Explain About Postback
When To use HashTable In C#
What is an extension method in c#?
What is difference between managed and unmanaged code?
Does the variables of a private class-level inherited?
Why abstract class can not be instantiated?
What are the properties of a string class?
How do you determine whether a string represents a numeric value?
What does break do in loop?
What is difference between a function and a method?
Explain about Oops concept
Why do we need abstract class?