blob: 61b9db5a1417ff355c4144b8fac6c6c06596fe23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Text;
using System.Configuration;
using System.Web;
class T1
{
static void Main(string[] args)
{
try
{
NameValueCollection AppSettings = ConfigurationManager.AppSettings;
}
catch (ConfigurationErrorsException e) {
Console.WriteLine ("configuration exception thrown.");
return;
}
Console.WriteLine ("configuration exception not thrown.");
}
}
|