static private Dictionary<string, object> PreferencesDictionary = BuildPreferencesDictionary(); static public Dictionary<string, object> GetPreferenceDictionary() { return PreferencesDictionary; }
> static public Dictionary<string, object> GetPreferenceDictionary() > { > return BuildPreferencesDictionary(); > } > >>
> static private Dictionary<string, object> BuildPreferencesDictionary() > { > Dictionary<string, object> preferenceDictionary = new Dictionary<string, object>(); > //loading code here > > return preferenceDictionary; > } > >>