Exemplo n.º 1
0
    public static void Main(String[] args)
    {
        System.Console.WriteLine("String.IndexOf: Co1090IO main starting...");
        bool bResult = false;
        Co1090IndexOf_CharInt oCo1090IOa = new Co1090IndexOf_CharInt();

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