예제 #1
0
 public Order(Customer customer, Item item, int quantity)
 {
     Customer = customer;
     Item = item;
     Quantity = quantity;
 }
예제 #2
0
 public void AddCustomer(Customer customer)
 {
     if (!_customers.Contains(customer))
     {
         _customers.Add(customer);
     }
 }