What do mean by protected internal modifier in C# programming language?

 Posted by Goud.Kv on 9/1/2014 | Category: C# Interview questions | Views: 1755 | Points: 40
Answer:

protected and internal are the keywords which may be used at a time to provide both access limits to a type or class. In other words, a type with protected internal can be accessed by any members of the same assembly and also by the derived classes.

syntax,
protected internal MyClass

{
.............;
...........;
}


Asked In: Spotted While Learning | Alert Moderator 

Comments or Responses

Login to post response