Пример #1
0
 static public void Main(String[] args)  
   {
   Decl2 fileTest = new Decl2();
   if(fileTest.foo(1,2,3,4,5)) 
     {
     Console.Out.WriteLine("Success");
     Environment.ExitCode = 0;
     }
   else {
   Console.Out.WriteLine("Failed");
   Environment.ExitCode = 101;
   }
   }
Пример #2
0
    static public void Main(String[] args)
    {
        Decl2 fileTest = new Decl2();

        if (fileTest.foo(1, 2, 3, 4, 5))
        {
            Console.Out.WriteLine("Success");
            Environment.ExitCode = 0;
        }
        else
        {
            Console.Out.WriteLine("Failed");
            Environment.ExitCode = 101;
        }
    }