Exemple #1
0
    public static void Main(String[] args)
    {
        System.Console.Error.WriteLine("String.LastIndexOfAny: Co1161LIO main starting...");
        Boolean bResult = false;
        Co1161LastIndexOfAny_CharArrInt oCo1161LIOa = new Co1161LastIndexOfAny_CharArrInt();

        bResult = oCo1161LIOa.runTest
                      ();
        if (bResult == true)
        {
            System.Console.Error.WriteLine("String.LastIndexOfAny: Co1161LIO paSs.");
        }
        else
        {
            System.Console.Error.WriteLine("String.LastIndexOfAny: Co1161LIO FAiL.");
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 11;
        }
    }
 public static void Main( String[] args ) 
   {
   System.Console.Error.WriteLine( "String.LastIndexOfAny: Co1161LIO main starting..." );
   Boolean bResult = false; 
   Co1161LastIndexOfAny_CharArrInt oCo1161LIOa = new Co1161LastIndexOfAny_CharArrInt();
   bResult = oCo1161LIOa.runTest
     ();
   if (bResult == true) System.Console.Error.WriteLine( "String.LastIndexOfAny: Co1161LIO paSs." );
   else                 System.Console.Error.WriteLine( "String.LastIndexOfAny: Co1161LIO FAiL." );
   if (bResult == true) Environment.ExitCode = 0;
   else                 Environment.ExitCode = 11;
   }