In C#, what is the purpose of the 'protected' access modifier?
A. Allows access from any class within the assembly
B. Restricts access to the current class and its derived classes
C. Allows access from any class
D. None of the above
Answer: Option B
A. Allows access from any class within the assembly
B. Restricts access to the current class and its derived classes
C. Allows access from any class
D. None of the above
Answer: Option B
Join The Discussion