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