private static void RunInteractive(TodoSelfHostService service, string[] args) { service.InteractiveStart(args); Console.WriteLine("Self-host server running..."); Console.WriteLine("Press any key to stop."); Console.ReadLine(); service.InteractiveStop(); }