Beispiel #1
0
    public static void Main(String[] args)
    {
        Console.Out.WriteLine("Character- Co4269IsLetter main started.");
        bool           bResult          = false;
        Co4269IsLetter o2Co4269IsLetter = new Co4269IsLetter();

        try
        {
            bResult = o2Co4269IsLetter.runTest();
        }
        catch (Exception exc)
        {
            bResult = false;
            Console.Error.WriteLine("Character- Co4269IsLetter main caught Exception!");
            Console.Error.WriteLine(exc.ToString());
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 1;
        }
    }
Beispiel #2
0
 public static void Main( String[] args )
   {
   Console.Out.WriteLine( "Character- Co4269IsLetter main started." );
   bool bResult = false; 
   Co4269IsLetter o2Co4269IsLetter = new Co4269IsLetter();
   try
     {
     bResult = o2Co4269IsLetter.runTest();
     }
   catch ( Exception exc )
     {
     bResult = false;
     Console.Error.WriteLine( "Character- Co4269IsLetter main caught Exception!" );
     Console.Error.WriteLine( exc.ToString() );
     }
   if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 1;  
   }