foreach (FileInfo FI in FileList) { Console.WriteLine(FI.FullName); Console.WriteLine(FI.LastWriteTime.ToShortDateString()); string dt = FI.LastWriteTime.ToShortDateString(); if(DateTime.Now.ToShortDateString()== dt) { readfile(FI); } Console.WriteLine(dt); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)