title: How to parameterize a linq query?
body: <p>I've got a data structure that is a list of hash tables, like so:</p>
  
  <pre><code>List&lt;Hashtable&gt; lh = new List&lt;Hashtable&gt;();
  </code></pre>
  
  <p>And a fairly simple LINQ query for this container:</p>
  
  <pre><code>var query = from h in lh where h["foo"] == "bar" select h;
  </code></pre>
  
  <p>Is there a way to parameterize the where clause? Something like:</p>
  
  <pre><code>var where_clause = where h["foo"] == "bar";
  var query = from h in lh where_clause select h;
  </code></pre>