public void SetCostType(TrainSeatTypes type, double cost) { base[(int)type] = cost; }
public double this[TrainSeatTypes t] { get { return base[(int)t]; } set { base[(int)t] = value; } }