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
Why it's said that writing into .NET Application Configuration Files is a Bad Idea?
What is the purpose of a constructor in c#?
What is null in database?
What is tpl in c#?
What is a scope in c#?
Can dictionary have duplicate keys c#?
write a c# program add two matrix with input number ?
What is c# commonly used for?
Can an int be negative c#?
What is hash c#?
What is an abstract class c#?
What does clr stand for?
Why linq is having select clause at the end?
What is difference between write and writeline?
Can interface have virtual methods in c#?