コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Products" /> class with values from Product from parameters box.
 /// </summary>
 /// <param name="p">Object of class Product.</param>
 public Products(Products p)
 {
     this.product = p.product;
     this.amount = p.amount;
 }