public static void Main(System.String[] args) { bool bResult = false; Co4253GetHashCode oCbTest = new Co4253GetHashCode(); try { bResult = oCbTest.runTest(); } catch (System.Exception ex) { System.Console.Error.Write(s_strTFName); System.Console.Error.WriteLine(": Main() Uncaught exception"); System.Console.Error.WriteLine(ex.ToString()); } if (bResult == true) { Environment.ExitCode = 0; } else { Environment.ExitCode = 1; } }
public static void Main(System.String[] args) { bool bResult = false; Co4253GetHashCode oCbTest = new Co4253GetHashCode(); try { bResult = oCbTest.runTest(); } catch( System.Exception ex ) { System.Console.Error.Write( s_strTFName ); System.Console.Error.WriteLine( ": Main() Uncaught exception" ); System.Console.Error.WriteLine( ex.ToString() ); } if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 1; }