示例#1
0
 public Item(string description, double price, int quantity)
 {
     itemNumber       = NumberManager.GetItemNumber();
     this.Description = description.ToUpper();
     this.Price       = price;
     this.Quantity    = quantity;
 }
示例#2
0
 public Item()
 {
     itemNumber = NumberManager.GetItemNumber();
 }