static void Main(string[] args)
        {
            var service = new Repo.RepositoryClient("BasicHttpBinding_IRepository");
            var p       = service.GetPoint(2);

            Console.WriteLine($"x = {p.X}; y = {p.Y}");
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            var repo = new Repo.RepositoryClient("BasicHttpBinding_IRepository");
            //var f = repo.GetByKey("Exxon Mobil Corporation");
            var key = Console.ReadLine();
            var f   = repo.GetByKey(key);

            Console.WriteLine(f.Description);
        }