// Collection of code snippets by Arne Vajhøj // (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) using System; public class Test { public static void Main(string[] arges) { Service1 srv = new Service1(); Customer c = srv.GetCustomerByID("N122"); Console.WriteLine(c.MyProperty); c.MyProperty = "N123"; srv.UpdateCustomer(c); Customer c2 = new Customer(); c2.MyCustomProperty = "XYZ"; srv.UpdateCustomer(c2); } }