title: What to pass to the lock keyword?
body: <p>What is the difference (if any) between using</p>
  
  <pre><code>void MethodName()
  {
      lock(this)
      {
          // (...)
      }
  }
  </code></pre>
  
  <p>or</p>
  
  <pre><code>private object o = new object();
  void MethodName()
  {
      lock(o)
      {
          // (...)
      }
  }
  </code></pre>
  
  <p>?</p>
  
  <p>Is there a difference in performance? Style? Behaviour?</p>