public СProduct(СProduct prod_copy)
 {
     product_name = prod_copy.Name;
     price        = prod_copy.Price;
     number       = prod_copy.number;
     index        = prod_copy.Index;
 }
示例#2
0
 public void Del_product(СProduct del_product)
 {
     products.Remove(del_product);
 }