public static void Main( String[] args ) { bool bResult = false; try { Co4271ToUpper o2Co4271ToUpper = new Co4271ToUpper(); bResult = o2Co4271ToUpper.runTest(); } catch ( Exception exc ) { bResult = false; Console.Error.WriteLine( "Character- Co4271ToUpper 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; try { Co4271ToUpper o2Co4271ToUpper = new Co4271ToUpper(); bResult = o2Co4271ToUpper.runTest(); } catch (Exception exc) { bResult = false; Console.Error.WriteLine("Character- Co4271ToUpper main caught Exception!"); Console.Error.WriteLine(exc.ToString()); } if (bResult == true) { Environment.ExitCode = 0; } else { Environment.ExitCode = 1; } }