title: What is the "volatile" keyword used for?
body: <p>I read some articles about the <code>volatile</code> keyword but I could not figure out its correct usage.  Could you please tell me what it should be used for in C# and in Java?</p>