IsControl_str_i.Main C# (CSharp) Method

Main() public static method

public static Main ( String strArgList ) : void
strArgList String
return void
 public static void Main(String[] strArgList)
   {
   bool bResult = false; 
   bool bDataOK;            
   try
     {
     IsControl_str_i ObjIsControl_str_i = new IsControl_str_i();
     bDataOK = ObjIsControl_str_i.ReadUnicodeData();
     if(! bDataOK )
       {
       Console.WriteLine("Not able to read the UniCode data from the file");
       return ;
       }
     bResult = ObjIsControl_str_i.runTest();
     }
   catch ( Exception exc )
     {
     bResult = false;
     Console.Error.WriteLine( "IsControl_str_i main caught an Exception!" + exc.ToString());
     Console.Error.WriteLine( exc.ToString() );
     }
   if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 1;
   }
}