title: LINQ to SQL value BETWEEN two double values
body: <p>I'm using LINQ to SQL to query my database, I have a query very similar to this:</p>
  
  <pre><code>var result = from db.MyTable.Where(d =&gt; (double)d.Price &gt;= minValue)
  </code></pre>
  
  <p>I need the where clause to have a <code>d.Proce &gt;= minValue</code>, and <code>d.Price =&lt; maxValue</code> (like a T-SQL <code>BETWEEN</code> clause).</p>
  
  <p>How can I do this?</p>