Пример #1
0
    public static void Main(System.String[] args)
    {
        bool bResult = false;

        try
        {
            Co1557SetAll o2Co1557SetAll = new Co1557SetAll();
            bResult = o2Co1557SetAll.runTest();
        }
        catch (System.Exception exc)
        {
            bResult = false;
            System.Console.Error.WriteLine("BitArray- Co1557SetAll main caught Exception!");
            System.Console.Error.WriteLine(exc.ToString());
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 1;
        }
    }
 public static void Main( System.String[] args )
 {
     bool bResult = false; 
     try
     {
         Co1557SetAll o2Co1557SetAll = new Co1557SetAll();
         bResult = o2Co1557SetAll.runTest();
     }
     catch ( System.Exception exc )
     {
         bResult = false;
         System.Console.Error.WriteLine( "BitArray- Co1557SetAll main caught Exception!" );
         System.Console.Error.WriteLine( exc.ToString() );
     }
     if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 1; 
 }