using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WCFServiceClient.ServiceReference1; using WCFServiceContract; namespace WCFServiceClient { class Program { static void Main(string[] args) {http://pastebin.pl/ KalkulatorLZClient client = new KalkulatorLZClient(); KalkulatorLZClient client2 = new KalkulatorLZClient("basicHttpBinding"); KalkulatorLZClient client3 = new KalkulatorLZClient("mexHttpBinding"); client.Open(); LiczbaZ lru1 = new LiczbaZ(3, 4); LiczbaZ lru2 = new LiczbaZ(5, 6); Console.WriteLine("Klient1:"); Console.WriteLine("...Dodaj LZ (3,4) i (5,6)"); LiczbaZ result2 = client.DodajLZ(lru1, lru2); Console.WriteLine("...(3, 4) + (5, 6) = ({0}, {1})", result2.czescR, result2.czescU); client.Close(); } } }