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