class Statistics
{
Dictionary<decimal, Statistic> BabyDataStandardAgeHeadCircumference;
Dictionary<decimal, Statistic> BabyDataStandardAgeLength;
Dictionary<decimal, Statistic> BabyDataStandardAgeWeight;
Dictionary<decimal, Statistic> BabyDataStandardWeightForLength;
}
These data are fixed - readonly and i want to load them from the database. The problem is
- How to make them readonly ?(i know through properties)
- How to fill them with data at program startup ?
Calling a method like Statistics.load() from startup event seems poor to me..