I have a custom configuration section i.e. RegisterCompanies.But the key name has same value for two entries.when i try to read the config section im getting ConfigurationerrorException saying Key element xxx have already been added.Can anybody tell me how to add duplicate keys in the custom configuration. Following is the config section i want to add to my app.config ..
<RegisterCompanies>
<Companies>
<Company name="Tata Motors" code="Tata"/>
<Company name="Tata Motors" code="Honda"/>
</Companies>
</RegisterCompanies>