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