public static void Main(String[] args) { bool bResult = false; Co4335get_Keys cbA = new Co4335get_Keys(); try { bResult = cbA.runTest(); } catch (Exception exc_main) { bResult = false; Console.Error.WriteLine("Err_9999, Unhandeled Exception" + exc_main.ToString()); } if (strActiveBugs.Length != 0) { Console.WriteLine("ACTIVE BUGS = " + strActiveBugs); } if (bResult == true) { Environment.ExitCode = 0; } else { Environment.ExitCode = 1; } }
public static void Main( String[] args ) { bool bResult = false; Co4335get_Keys cbA = new Co4335get_Keys(); try { bResult = cbA.runTest(); } catch ( Exception exc_main ) { bResult = false; Console.Error.WriteLine( "Err_9999, Unhandeled Exception" + exc_main.ToString() ); } if ( strActiveBugs.Length != 0 ) Console.WriteLine( "ACTIVE BUGS = " + strActiveBugs ); if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 1; }