W
wuji
Hi !
I understand that dotNet offers app.config to store application
configuration as below:
<configuration>
<appSetting>
<add key="MySettingKey1" value="MySettingValue1" />
<add key="MySettingKey2" value="MySettingValue2" />
</appSetting>
</configuration>
But this type of configuration is too flat. I want to have something
like this:
<configuration>
<appSetting>
<add key="MySettingKey1" value="MySettingValue1" />
<subElement1>A</subElement1>
<subElement2>B</subElement2>
</add>
</appSetting>
</configuration>
How could this read this using ConfigurationSetting class ?
Thanks
Bob
I understand that dotNet offers app.config to store application
configuration as below:
<configuration>
<appSetting>
<add key="MySettingKey1" value="MySettingValue1" />
<add key="MySettingKey2" value="MySettingValue2" />
</appSetting>
</configuration>
But this type of configuration is too flat. I want to have something
like this:
<configuration>
<appSetting>
<add key="MySettingKey1" value="MySettingValue1" />
<subElement1>A</subElement1>
<subElement2>B</subElement2>
</add>
</appSetting>
</configuration>
How could this read this using ConfigurationSetting class ?
Thanks
Bob