title: Trying to get a list of files in a directory by created date using LINQ
body: <p>I am trying to get a list of all files in a directory by write date:</p>
  
  <pre><code>private void Form1_Load(object sender, EventArgs e) {
    DateTime LastCreatedDate = 
                 Properties.Settings.Default["LastDateTime"].ToDateTime();
  
    string [] filePaths = Directory.GetFiles(@"\\Pontos\completed\", "*_*.csv")
                          .OrderBy(p =&gt; System.IO.File.GetLastWriteTime(p))
                          .Where(p&gt;=LastCreatedDate);
  }
  </code></pre>
  
  <p><strong>Questions</strong></p>
  
  <ol>
  <li>How do I properly do a WHERE clause to get only files greater than or equal to the date in my settings?</li>
  <li><code>string []</code> is not working for this one because it does not know how to do conversion. which data type should I be using?</li>
  </ol>