Exemplo 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);
 }
Exemplo 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);
 }