Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApp1
- {
- class Program
- {
- static void Main(string[] args)
- {
- Service1Client client = new Service1Client();
- Console.WriteLine("Opend client");
- int x = 5;
- Console.WriteLine("Calling fuction factorial with parameter " + x);
- int result = client.Factorial(10);
- Console.WriteLine("Factorial of 10 is " + result);
- client.Close();
- Console.WriteLine("Client closed");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement