Q5
What is the scope of a local variable in C#?
A.
Limited to the file in which it is declared
B.
Limited to the class in which it is declared
C.
Limited to the method in which it is declared
D.
Limited to the block in which it is declared
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board