Пример #1
0
 public Tomato(VeggieColor color) : base("Tomatoes", color)
 {
 }
Пример #2
0
 public Lettuce(VeggieColor color) : base("Lettuce", color)
 {
 }
Пример #3
0
 protected Veggie(string name, VeggieColor color)
 {
     Color = color;
     Name  = name;
 }
Пример #4
0
 public Pickle(VeggieColor color) : base("Pickles", color)
 {
 }