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; }
public Customer AddCustomer(Customer c) { System.Console.WriteLine(c); // return c; return Customer.Make("123", "wlliam", "wc", "3"); }