I have a while loop in Main () that goes through several methods. Although one method named ScanChanges() has an if / else statement, if it should go to Thread.Sleep(10000) (at the end of the loop).
static void Main(string[] args) { while (true) { ChangeFiles(); ScanChanges(); TrimFolder(); TrimFile(); Thread.Sleep(10000); } } private static void ChangeFiles() {
source share