public static void Main(String[] args) { Console.Out.WriteLine("Character- Co4270IsWhiteSpace main started."); bool bResult = false; Co4270IsWhiteSpace o2Co4270IsWhiteSpace = new Co4270IsWhiteSpace(); try { bResult = o2Co4270IsWhiteSpace.runTest(); } catch (Exception exc) { bResult = false; Console.Error.WriteLine("Character- Co4270IsWhiteSpace main caught Exception!"); Console.Error.WriteLine(exc.ToString()); } if (bResult == true) { Environment.ExitCode = 0; } else { Environment.ExitCode = 1; } }
public static void Main( String[] args ) { Console.Out.WriteLine( "Character- Co4270IsWhiteSpace main started." ); bool bResult = false; Co4270IsWhiteSpace o2Co4270IsWhiteSpace = new Co4270IsWhiteSpace(); try { bResult = o2Co4270IsWhiteSpace.runTest(); } catch ( Exception exc ) { bResult = false; Console.Error.WriteLine( "Character- Co4270IsWhiteSpace main caught Exception!" ); Console.Error.WriteLine( exc.ToString() ); } if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 1; }