How do I make my custom config section behave like a collection?
How would I need to write my custom ConfigurationSection so that it is both a section handler and a configuration element collection? Normally, you have one class that inherits from ConfigurationSection , which then has a property that is of a type that inherits from ConfigurationElementCollection , which then returns elements of a collection of a type that inherits from ConfigurationElement . To configure that, you would then need XML that looks something like this: <customSection> <collection> <element name="A" /> <element name="B" /> <element name="C" /> </collection> </customSection> I