// This code is in the public domain. // "Look ma, no comments." using System; namespace Witw { class MainClass { [STAThread] static void Main(string[] args) { witw b = new witw(); b.Url = "http://os390:1234/service/witw"; @is i = new @is(); i.userid = "rsalz"; try { isresponse ir = b.isoperation(i); System.Console.WriteLine("{0} is {1} at ({2},{3})", i.userid, ir.userid, ir.latitude, ir.longitude); } catch (Exception x) { System.Console.WriteLine("{0}", x); } try { atlandmark l = new atlandmark(); l.landmark = "Tidepool"; l.userid = "rsalz"; b.atlandmarkoperation(l); } catch (Exception x) { System.Console.WriteLine("{0}", x); } System.Console.Write("Press RETURN to continue: "); System.Console.Read(); } } }