using System;
using System.IO;
using System.Diagnostics;
class MainClass
{
static BooleanSwitch MySwitch = new BooleanSwitch("MyData", "MyModule");
[STAThread]
staticvoid Main(string[] args)
{
MySwitch.Enabled = true;
if (MySwitch.Enabled)
Console.WriteLine("Error happened!");
}
}