Code: Select all
private void Form1_Load(object sender, EventArgs e) {
DateTime LastCreatedDate =
Properties.Settings.Default["LastDateTime"].ToDateTime();
string [] filePaths = Directory.GetFiles(@"\\Pontos\completed\", "*_*.csv")
.OrderBy(p => System.IO.File.GetLastWriteTime(p))
.Where(p>=LastCreatedDate);
}
< /code>
Fragen < /strong> < /p>
[list]
[*] Wie mache ich eine Where -Klausel, um nur Dateien mehr als oder gleich dem Datum in meinen Einstellungen zu erhalten?string []
[/list]