Esempio n. 1
0
 public FirstCourse(string name, int price, int calories, string souce)
 {
     this.Name     = name;
     this.Price    = price;
     this.Calories = calories;
     this.souce    = new Souce(souce);
 }
Esempio n. 2
0
 public Salad(string name, int price, int calories, string greens, string souce)
 {
     this.Name     = name;
     this.Price    = price;
     this.Calories = calories;
     this.greens   = new Greens(greens);
     this.souce    = new Souce(souce);
 }