title: Declare a ThreadLocal dictionary
body: <p>I need to declare a dictionary that is global within a class, but the code using the dictionary will run as a thread, so I need to use ThreadLocal.   How do I declare that?</p>
  
  <pre><code>ThreadLocal&lt;IDictionary&lt;string, MyClass&gt;&gt;  is not correct.
  </code></pre>
  
  <p>Thanks</p>