Skip to content

Instantly share code, notes, and snippets.

@luisdeol
Created July 9, 2020 17:30
Show Gist options
  • Save luisdeol/1f8b01a66b241c6ceff8ecfa9c9fbcbc to your computer and use it in GitHub Desktop.
Save luisdeol/1f8b01a66b241c6ceff8ecfa9c9fbcbc to your computer and use it in GitHub Desktop.
4.2: Consuming WCF Service.
using System;
namespace _42_ConsumeData
{
class Program
{
static void Main(string[] args)
{
var serviceReferenceClient = new ServiceReference1.ServiceClient();
var result = serviceReferenceClient.GetData(100);
Console.WriteLine(result);
Console.ReadKey();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment