Esempio n. 1
0
 public static Customer Make(string id, string name, string address, string credit)
 {
     Customer c = new Customer();
     c.id = id;
     c.name = name;
     c.address = address;
     c.credit = credit;
     return c;
 }
Esempio n. 2
0
 public Customer AddCustomer(Customer c)
 {
     System.Console.WriteLine(c);
        // return c;
     return Customer.Make("123", "wlliam", "wc", "3");
 }