the goal is to define initial hierarchy over a configuration. the desired design is:
<Nodes>
<Node Name = "a">
<ChildNodeNames>
b, c
</ChildNodeNames>
</Node>
<Node Name = "b">
<ChildNodeNames/>
</Node>
<Node Name = "c">
<ChildNodeNames/>
</Node>
</Node>
theoretically it should be very similar to System.Configuration.NameValueFileSectionHandler type
<Company.appSettings>
<add key="1" value="a" />
<add key="2" value="b" />
<add key="3" value="c" />
</Company.appSettings>
but how to:
- adopt to the goal and put into config file
- get the "Nodes" section from the config and recieve an object that contains a collection of Node?
Here is a nice solution, but it does not solve the second aspect of the question (How to get a List<string> collection of values from app.config in WPF?)