title: Difference between contains and contains<> in c#
body: <p>I may be stupid, but what is the difference between <code>contains</code> and <code>contains&lt;&gt;</code> in VS whisper help? Sometimes I get both, sometimes only the one with &lt;>.</p>
  
  <p>They things is that I am trying to use contains in where as in some solutions found here on SO, but it throws error that I best overload method has some invalid arguments (them method is <code>System.Linq.ParallelEnumerable.Contains&lt;TSource&gt;(...)</code>).</p>
  
  <p>My code is like this:</p>
  
  <pre><code>defaultDL = db.SomeEntity
                      .Where(dl =&gt; dl.Something == this.Something
                          &amp;&amp; (dl.AllLocation == true || this.SomeOtherEntity.Select(loc =&gt; loc.Location).Contains(dl.Location)))
                      .ToList();
  </code></pre>