Пример #1
0
 public Hipermarket(string product, float prize, Types type, Marks mark, Specification1 sp1, Specification2 sp2)
 {
     this.Product = product;
     this.Prize   = prize;
     this.Type    = type;
     this.Mark    = mark;
     this.Sp1     = sp1;
     this.Sp2     = sp2;
 }
Пример #2
0
 public Specification(Specification1 sp1, Specification2 sp2)
 {
     this.Sp1 = sp1;
     this.Sp2 = sp2;
 }