static void Main(string[] args) { string source = ConfigurationManager.AppSettings["CSVSourceFolder"]; CSVManager manager = new CSVManager(source); manager.Run(); Console.WriteLine("Press any key to exit..."); Console.ReadKey(); manager.Stop(); Console.WriteLine(new string('=', 60)); manager.GetAllTables(); Console.ReadKey(); //https://metanit.com/sharp/mvc5/23.7.php }