I have this in a web.config :
<MySection>
<Setting1 Value="10" />
<Setting2 Value="20" />
<Setting3 Value="30" />
<Setting4 Value="40" />
</MySection>
I'd like read the all section "MySection" and get all value to a List<string>
(ex : "10","20","30")
Thanks,
First of all, I recommend use to use Unity Configuration.
Code:
Config: