public void Add( Product item , int quantity ) { items.Add( new Item( item , quantity ) ); }
public Item( Product product , int quantity ) { Quantity = quantity; Product = product; }
public void Add( Product item , int quantity ) { items.Add( new Item( item , quantity ) ); }
public Item( Product product , int quantity ) { Quantity = quantity; Product = product; }