* ConfigurationManagerTest.cs: Added/improved tests for
[mono.git] / mcs / class / System.Configuration / Test / standalone / t33.cs
1 using System;
2 using System.Configuration;
3 using System.Reflection;
4 using System.Xml;
5
6 class Test
7 {
8         public static void Main ()
9         {
10                 try {
11                         Configuration c = ConfigurationManager.OpenExeConfiguration (
12                                 ConfigurationUserLevel.None);
13
14                         ConfigurationSectionGroup g = c.SectionGroups ["foo"];
15                         ConfigurationSection s = g.Sections ["mojoEncryption"];
16                         Console.WriteLine (s.GetType ());
17                 } catch (Exception e) {
18                         Console.WriteLine (e);
19                 }
20         }
21 }
22