Exemple #1
0
    public static void Main(String[] args)
    {
        System.Console.WriteLine("System.Array.Clear Co1078AC main started.");
        bool        bResult    = false;
        Co1078Clear oCo1078ACa = new Co1078Clear();

        try
        {
            bResult = oCo1078ACa.runTest();
        }
        catch (System.Exception exc)
        {
            bResult = false;
            System.Console.WriteLine(exc.Message);
        }
        if (bResult == true)
        {
            System.Console.WriteLine("System.Array.Clear Co1078AC paSs.");
        }
        else
        {
            System.Console.WriteLine("System.Array.Clear Co1078AC FAiL.");
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 11;
        }
    }
 public static void Main( String[] args )
   {
   System.Console.WriteLine( "System.Array.Clear Co1078AC main started." );
   bool bResult = false; 
   Co1078Clear oCo1078ACa = new Co1078Clear();
   try
     {
     bResult = oCo1078ACa.runTest();
     }
   catch (System.Exception exc)
     {
     bResult = false;
     System.Console.WriteLine( exc.Message );
     }
   if (bResult == true) System.Console.WriteLine( "System.Array.Clear Co1078AC paSs." );
   else                 System.Console.WriteLine( "System.Array.Clear Co1078AC FAiL." );
   if (bResult == true) Environment.ExitCode = 0;
   else                 Environment.ExitCode = 11;
   }