static void Main(string[] args) { Console.WriteLine("Press ESC to quit ..."); Console.WriteLine("Press any other key to try again."); Console.WriteLine(); var client = new Bootstrap().GetClient(); do { client.BackgUpMyFile(); } while (Console.ReadKey().Key != ConsoleKey.Escape); }