public static void Main(String[] args) { bool bResult = false; Co1126Substring_Int oCo1126Sa = new Co1126Substring_Int(); bResult = oCo1126Sa.runTest (); if (bResult == true) { System.Console.Error.WriteLine("String.Substring: Co1126S paSs."); } else { System.Console.Error.WriteLine("String.Substring: Co1126S FAiL."); } if (bResult == true) { Environment.ExitCode = 0; } else { Environment.ExitCode = 11; } }
public static void Main( String[] args ) { bool bResult = false; Co1126Substring_Int oCo1126Sa = new Co1126Substring_Int(); bResult = oCo1126Sa.runTest (); if (bResult == true) System.Console.Error.WriteLine( "String.Substring: Co1126S paSs." ); else System.Console.Error.WriteLine( "String.Substring: Co1126S FAiL." ); if (bResult == true) Environment.ExitCode = 0; else Environment.ExitCode = 11; }