public static void Main( String[] args )
   {
   bool bResult = false; 
   Co3041ToString cb0 = new Co3041ToString();
   try
     {
     bResult = cb0.runTest();
     }
   catch ( System.Exception exc )
     {
     bResult = false;
     System.Console.Error.WriteLine( "Co3041ToString." );
     System.Console.Error.WriteLine( exc.ToString() );
     }
   if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 11; 
   }
Exemplo n.º 2
0
    public static void Main(String[] args)
    {
        bool           bResult = false;
        Co3041ToString cb0     = new Co3041ToString();

        try
        {
            bResult = cb0.runTest();
        }
        catch (System.Exception exc)
        {
            bResult = false;
            System.Console.Error.WriteLine("Co3041ToString.");
            System.Console.Error.WriteLine(exc.ToString());
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 11;
        }
    }