Q35
What is the purpose of the 'volatile' keyword in C#?
A.
To define a constant
B.
To make a variable accessible outside its class
C.
To make a variable read-only
D.
To indicate that a variable's value can be modified by multiple threads concurrently
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board