public string this[[NotNull] string section, [NotNull] string key] {
get {
if ( section == null )
throw new ArgumentNullException( "section" );
if ( key == null )
throw new ArgumentNullException( "key" );
return contents[section][key];
}
set {
if ( section == null )
throw new ArgumentNullException( "section" );
if ( key == null )
throw new ArgumentNullException( "key" );
if ( value == null )
throw new ArgumentNullException( "value" );
if ( !contents.ContainsKey( section ) ) {
contents[section] = new Dictionary<string, string>();
}
contents[section][key] = value;
}
}