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