title: How to Create a Thread-Safe Generic List?
body: <p>I have a Generic List as below</p>
  
  <pre><code>public static readonly List&lt;Customer&gt; Customers = new List&lt;Customer&gt;();
  </code></pre>
  
  <p>I'm using the below methods for it:</p>
  
  <pre><code>.Add
  .Find
  .FirstOrDefault
  </code></pre>
  
  <p>The last 2 are LINQ extensions.</p>
  
  <p>I'd need to make this thread-safe to be able to run multiple instances of the container class.</p>
  
  <p>How to achieve that?</p>