title: Need a LINQ query to find string items
body: <p>I have a <code>List&lt;NameClass&gt;</code> that stores a collection of <code>NameClass</code> items with a property called <code>Name</code> in the class. What I'm trying to do is write a Linq query that will pull all the names that start with <code>Jones</code>, but only if there are 3 or more occurrences. For example, if my list had the following items:</p>
  
  <pre><code>Name
  -----------
  Jones
  Jonestown
  Smith
  Hector
  Jones
  Smith
  Smith
  </code></pre>
  
  <p>I am looking for a C# function that I can call like this:</p>
  
  <pre><code>GetNames("Jones");
  </code></pre>
  
  <p>And it should return:</p>
  
  <pre><code>Jones
  Jonestown
  Jones
  </code></pre>
  
  <p>And if I run this:</p>
  
  <pre><code>GetNames("Smith");
  </code></pre>
  
  <p>It should return:</p>
  
  <pre><code>Smith
  Smith
  Smith
  </code></pre>
  
  <p>And if I run this:</p>
  
  <pre><code>GetNames("Hector");
  </code></pre>
  
  <p>It should return nothing since <code>Hector</code> isn't in the list 3 or more times.</p>
  
  <p>Any help writing this LINQ query would be appreciated!</p>