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