Examveda

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

A. Limited to the block in which it is declared

B. Throughout the program

C. Limited to the file in which it is declared

D. None of the above

Answer: Option B


Join The Discussion

Related Questions on Variables and Constants in C Sharp