示例#1
0
        static void Main(string[] args)
        {
            using (var phoneBookRunner = new PhoneBookRunner())
            {
                phoneBookRunner.Start();

                Console.WriteLine("Press enter to stop background services...");
                Console.ReadLine();
            }
        }
示例#2
0
        static void Main(string[] args)
        {
            using (var phoneBookRunner = new PhoneBookRunner())
            {
                phoneBookRunner.Start();

                Console.WriteLine("Press enter to stop background services...");
                Console.ReadLine();
            }
        }