* ConfigurationManagerTest.cs: Added/improved tests for
[mono.git] / mcs / class / System.Configuration / Test / standalone / t30.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Collections.Specialized;
4 using System.Text;
5 using System.Configuration;
6 using System.Web;
7 using System.Web.Configuration;
8
9 class T30
10 {
11         static void Main(string[] args)
12         {
13                 try
14                 {
15                         CompilationSection section = (CompilationSection)ConfigurationManager.GetSection ("system.web/compilation");
16
17                         section = (CompilationSection)ConfigurationManager.GetSection ("system.web/compilation");
18
19                         Console.WriteLine ("there are {0} assemblies listed in the section", section.Assemblies.Count);
20                 }
21                 catch (Exception e)
22                 {
23                         // Error.
24                         Console.WriteLine(e.ToString());
25                 }
26         }
27 }