Are local variables within static methods thread safe?
<p>If I have a static class with a static method, are the local variables within the method safe if multiple threads are calling it?</p>

<pre><code>static class MyClass {

  static int DoStuff(int n) {

    int x = n; // &lt;--- Can this be modified by another thread?

    return x++;     
  }
}
</code></pre>
