public static void Main(String[] args) { System.Console.Error.WriteLine("String.EndsWith: Co1150EW main starting..."); bool bResult = false; Co1150EndsWith_Str oCo1150EWa = new Co1150EndsWith_Str(); bResult = oCo1150EWa.runTest (); if (bResult == true) { System.Console.Error.WriteLine("String.EndsWith: Co1150EW paSs."); } else { System.Console.Error.WriteLine("String.EndsWith: Co1150EW FAiL."); } if (bResult == true) { Environment.ExitCode = 0; } else { Environment.ExitCode = 11; } }
public static void Main( String[] args ) { System.Console.Error.WriteLine( "String.EndsWith: Co1150EW main starting..." ); bool bResult = false; Co1150EndsWith_Str oCo1150EWa = new Co1150EndsWith_Str(); bResult = oCo1150EWa.runTest (); if (bResult == true) System.Console.Error.WriteLine( "String.EndsWith: Co1150EW paSs." ); else System.Console.Error.WriteLine( "String.EndsWith: Co1150EW FAiL." ); if (bResult == true) Environment.ExitCode = 0; else Environment.ExitCode = 11; }