示例#1
0
    public static void Main(String[] args)
    {
        bool          bResult = false;
        StringBuilder sblW    = null;

        try
        {
            Co1558set_Length o2Co1558set_Length = new Co1558set_Length();
            bResult = o2Co1558set_Length.runTest();
        }
        catch (Exception exc)
        {
            bResult = false;
            sblW    = new StringBuilder("EXTENDEDINFO:  BitArray\\Co1558set_Length.cs main caught Exception!  exc.ToString()==");
            sblW.Append(exc.ToString());
            Console.Error.WriteLine(sblW.ToString());
        }
        if (!bResult)
        {
            Console.Error.WriteLine("Co1558set_Length.cs");
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 1;
        }
    }
 public static void Main( String[] args )
 {
     bool bResult = false; 
     StringBuilder sblW = null;
     try
     {
         Co1558set_Length o2Co1558set_Length = new Co1558set_Length();
         bResult = o2Co1558set_Length.runTest();
     }
     catch ( Exception exc )
     {
         bResult = false;
         sblW = new StringBuilder( "EXTENDEDINFO:  BitArray\\Co1558set_Length.cs main caught Exception!  exc.ToString()==" );
         sblW.Append( exc.ToString() );
         Console.Error.WriteLine(  sblW.ToString()  );
     }
     if ( ! bResult )
     {
         Console.Error.WriteLine(  "Co1558set_Length.cs"  );
     }
     if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 1; 
 }