Explain about Protected and protected internal, ?internal?
access-specifier?
Answer Posted / diana cheriyan
Protected:-Access is limited to the Containing class or
types derived from the Containing class
Internal:-Access is limited to the Current Assembly
Protected Internal:-Access is limited to the current
Assembly or types derived from the Containing class
| Is This Answer Correct ? | 19 Yes | 7 No |
Post New Answer View All Answers
What are value types and reference types?
What does void mean in c#?
What's the difference between system.string and system.text.stringbuilder classes?
If multiple interfaces are inherited and they have conflicting method names; What will happen ?
What does executescalar return in c#?
What is inline function in c#?
What is tochararray in c#?
Can we have two main methods in c#?
why delegate is type safe?
What are async and await?
What's the difference between WindowsDefaultLocation and WindowsDefaultBounds?
What is mvc in c#?
What is datetime minvalue in c#?
Can we create multiple constructors?
What is the use of generics in c#?