static void Main(string[] args) { PeopleServiceClient client = new PeopleServiceClient(); string value = client.GetData(45); Console.WriteLine(value); if(Debugger.IsAttached) { Console.WriteLine("Press any key to exit..."); Console.ReadKey(); } }