What is the purpose of volatile keyword in C#?
volatile
Where would I need to use this keyword?
I saw the following statement, but I am unable to underst
It indicates that the value may get changed by a different thread, so the value needs to be read even if a previous instruction has already read it.
http://msdn.microsoft.com/en-us/library/x13ttww7%28VS.71%29.aspx