Vidyalelo
C# Programming · Q24

Variables and Constants in C Sharp

Programming · C# Programming · question 24

Q24

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

A.
Limited to the block in which it is declared
B.
Throughout the program
Answer
C.
Limited to the file in which it is declared
D.
None of the above

Answer: Option B

Solution

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