Facebook
From Sloppy Owl, 6 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 312
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using WCFServiceClient.ServiceReference1;
  7. using WCFServiceContract;
  8.  
  9. namespace WCFServiceClient
  10. {
  11.     class Program
  12.     {
  13.         static void Main(string[] args)
  14.         {http://pastebin.pl/
  15.             KalkulatorLZClient client = new KalkulatorLZClient();
  16.             KalkulatorLZClient client2 = new KalkulatorLZClient("basicHttpBinding");
  17.             KalkulatorLZClient client3 = new KalkulatorLZClient("mexHttpBinding");
  18.  
  19.             client.Open();
  20.  
  21.             LiczbaZ lru1 = new LiczbaZ(3, 4);
  22.             LiczbaZ lru2 = new LiczbaZ(5, 6);
  23.             Console.WriteLine("Klient1:");
  24.             Console.WriteLine("...Dodaj LZ (3,4) i (5,6)");
  25.             LiczbaZ result2 = client.DodajLZ(lru1, lru2);
  26.             Console.WriteLine("...(3, 4) + (5, 6) = ({0}, {1})", result2.czescR, result2.czescU);
  27.             client.Close();
  28.         }
  29.     }
  30. }
  31.  

Replies to Untitled rss

Title Name Language When
Re: Untitled Sludgy Zebra text 6 Years ago.