title: Filter data between two dates using LINQ
body: <p>How to filter data between two datetime. Here i am filtering the text file length in a directory..I need to filter text file between the selected date.</p>
  
  <pre><code>DateTime startDate = dateTimePicker1.Value;
  DateTime endDate = dateTimePicker2.Value;
  var queryList1Only = from i in di.GetFiles("*.txt", SearchOption.AllDirectories)  
                       select i.Length;
  </code></pre>
  
  <p>Any suggestion?</p>