What is the access specifier that restricts access to members of a class only within the same class and its derived classes in C#?
A. public
B. private
C. internal
D. protected
Answer: Option D
A. public
B. private
C. internal
D. protected
Answer: Option D
A. A blueprint for creating objects
B. A method in C#
C. A variable in C#
D. A data type in C#
A. A method in C#
B. A variable in C#
C. An instance of a class
D. A data type in C#
A. public
B. private
C. protected
D. internal
Join The Discussion