Vidyalelo
C# Programming · Q18

Functions and Methods in C Sharp

Programming · C# Programming · question 18

Q18

In C#, which access modifier is used to restrict access to a method within the same class or derived classes?

A.
protected
B.
internal
C.
private
Answer
D.
public

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board