Hi wanna ask, is there any way to edit this code to make it as a timer. Because I want to get last edit csv file and save it to the database, at least loop for about 30 second.
foreach (FileInfo file in filess)
{DateTime lastWriteTime = file.LastWriteTime;
Console.WriteLine("Time last Edit : " + lastWriteTime);
}
thank you
im using visual studio 2019,c#
Jenith ThakkarPosted Aug 11, 2020, 11:13 PM
Jenith ThakkarPosted Aug 13, 2020, 3:56 AM
It will run in background
Posted Aug 13, 2020, 1:24 AM
Posted Aug 13, 2020, 1:23 AM
Laxmidhar SahooPosted Aug 11, 2020, 11:49 PM