public String FormatTeaType(TeaType type) { String formatted; switch (type) { case TeaType.MedicinalHerbs: formatted = "Medicinal Herbs"; break; case TeaType.RawPuerh: formatted = "Raw Puerh"; break; default: formatted = type.ToString(); break; } return(formatted); }
public Tea(TeaType type = TeaType.Black) : base(type.ToString() + " Tea") { }
public Tea(TeaType teaType) : base($"{teaType.ToString()} tea") { }