title: Linq Where condition to match array
body: <p>I have a linq list obtained from database in my Model. Now I have a string array obtained from my controller. I want to construct a statement</p>
  <p>pseudo-code</p>
  <pre><code>List&lt;object&gt; objlist = db.objects.tolist();
  string[] strarray; // obtained from a long code.
  var k = objlist.Where(u =&gt; u.somecol == strarray[0] || u.somecol == strarray[1]........strarray[n]).toList();
  </code></pre>
  <p>I am little bit confused how to accomplish this since my <code>strarray[]</code> is variable length and can contain upto 1000 words.</p>