Beispiel #1
0
 public void OrderMeal(Meal name)
 {
     this.count++;
 }
Beispiel #2
0
 public void PrintMeal(Meal name)
 {
     Console.WriteLine($"{this.Name} - {this.Type}");
 }
Beispiel #3
0
 public void GetMealPrice(Meal name)
 {
     Console.WriteLine($"The price of {this.name} is: {this.Price:f2}.");
 }