public static void EnterInfo(List <Person> customers) { Customer fNG = new Customer(Person.GetName(), Person.GetAddr(), Person.GetPhone(), Customer.GetNum(), Customer.GetMail()); customers.Add(fNG); }
public static void EnterInfo(List <Person> people) { PreferredCustomer fNG = new PreferredCustomer(Person.GetName(), Person.GetAddr(), Person.GetPhone(), Customer.GetNum(), Customer.GetMail(), PreferredCustomer.GetPurchases(), 0); people.Add(fNG); }