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