1<!-- web/app config example -->
2
3<SectionName>
4
5<add key="key1" value="value1"/>
6<add key="key2" value="value2"/>
7<add key="key3" value="value3"/>
8
9</SectionName>
10
11
12// C# code example to get back the above values from config in a single collection.
13
14NameValueCollection configSettings = (NameValueCollection)ConfigurationManager.GetSection("SectionName");