static void Main(string[] args) { var customer = new Customer(0, "James"); customer.Orders.Add(new Order()); customer.Orders.Add(new Order()); Console.WriteLine(customer.Orders.Count); }
static void Main(string[] args) { var customer = new Customer(1); customer.Orders.Add(new Order()); customer.Orders.Add(new Order()); customer.Promote(); Console.WriteLine(customer.Orders.Count); }