Created
July 9, 2020 17:30
-
-
Save luisdeol/1f8b01a66b241c6ceff8ecfa9c9fbcbc to your computer and use it in GitHub Desktop.
4.2: Consuming WCF Service.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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