title: ThreadLocal property
body: <p>If we have a <code>ThreadLocal</code> property (each thread has it's unique property) then which one is correct (we don't want use automatic setter/getter):</p>
  
  <p><strong>A)</strong></p>
  
  <pre><code>private ThreadLocal&lt;MyClass&gt; _someProperty = new ThreadLocal&lt;MyClass&gt;();
  
  public ThreadLocal&lt;MyClass&gt; SomeProperty
  {
      get
      {
          return _someProperty.Value;
      }
      set
      {
          _someProperty.Value = value;
      }
  }
  </code></pre>
  
  <p><strong>B)</strong></p>
  
  <pre><code>private ThreadLocal&lt;MyClass&gt; _someProperty = new ThreadLocal&lt;MyClass&gt;();
  
  public MyClass SomeProperty
  {
      get
      {
          return _someProperty.Value;
      }
      set
      {
          _someProperty.Value = value;
      }
  }
  </code></pre>