Пример #1
0
 public Product(int id, string name, string origin, string quality, int?purity, int?moisture, int?splits, int?weeviled, int?damaged, int?foreignMatter, int?greenDamaged, int?otherColor, int?wrinkled)
 {
     this.id      = id;
     this.name    = name;
     this.origin  = origin;
     this.quality = quality;
     specs        = new specification(purity, moisture, splits, weeviled, damaged, foreignMatter, greenDamaged, otherColor, wrinkled);
 }
Пример #2
0
 public Product()
 {
     specs = new specification();
 }