Beispiel #1
0
        public static void EnterInfo(List <Person> customers)
        {
            Customer fNG = new Customer(Person.GetName(),
                                        Person.GetAddr(),
                                        Person.GetPhone(),
                                        Customer.GetNum(),
                                        Customer.GetMail());

            customers.Add(fNG);
        }
Beispiel #2
0
        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);
        }