Vidyalelo
C# Programming · Q33

Variables and Constants in C Sharp

Programming · C# Programming · question 33

Q33

What is the scope of a global variable in C#?

A.
Limited to the block in which it is declared
B.
Limited to the method in which it is declared
C.
Limited to the class in which it is declared
D.
Throughout the entire program
Answer

Answer: Option D

Solution

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