static void Main(string[] args) { try { while (true) { Thread.Sleep(1000); WorkUser.Sort(); Console.WriteLine("*"); } } catch (Exception ex) { Console.WriteLine(ex.Message); } }