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