public override Dictionary <string, string> GetDrinkInfo() { var drinkInfo = new Dictionary <string, string> { { "Name", Name }, { "Cost", Cost.ToString() }, { "Alcohol content", AlcoholContent.ToString() }, { "Date of bottling", DateOfBottling.ToString() }, { "Grape sort", GrapeSort }, { "Vines age", VinesAge.ToString() }, { "Bottle volume", Bottle.Volume.ToString() }, { "Bottle color", Bottle.Color } }; return(drinkInfo); }
public override Dictionary <string, string> GetDrinkInfo() { var drinkInfo = new Dictionary <string, string> { { "Name", Name }, { "Cost", Cost.ToString() }, { "Alcohol content", AlcoholContent.ToString() }, { "Date of bottling", DateOfBottling.ToString() }, { "Class", Class }, { "Barrel material", BarrelMaterial }, { "Bottle volume", Bottle.Volume.ToString() }, { "Bottle color", Bottle.Color } }; return(drinkInfo); }