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