Example #1
0
 public Bread(string name, decimal price, string dealer, Stamp stamp, BreadType breadType = BreadType.White)
     : base(name, price, dealer, stamp)
 {
     this.BreadType = breadType;
 }
Example #2
0
 public Milk(string name, decimal price, string dealer, Stamp stamp, decimal fatContent = 3.2M)
     : base(name, price, dealer, stamp)
 {
     this.FatContent = fatContent;
 }