コード例 #1
0
ファイル: co3045join_strstrarr.cs プロジェクト: ydunk/masters
    public static void Main(String[] args)
    {
        bool bResult             = false;
        Co3045Join_StrStrArr cb0 = new Co3045Join_StrStrArr();

        try
        {
            bResult = cb0.runTest();
        }
        catch (System.Exception exc)
        {
            bResult = false;
            System.Console.Error.WriteLine("Co3045Join_StrStrArr.");
            System.Console.Error.WriteLine(exc.ToString());
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 11;
        }
    }
コード例 #2
0
 public static void Main( String[] args )
   {
   bool bResult = false; 
   Co3045Join_StrStrArr cb0 = new Co3045Join_StrStrArr();
   try
     {
     bResult = cb0.runTest();
     }
   catch ( System.Exception exc )
     {
     bResult = false;
     System.Console.Error.WriteLine( "Co3045Join_StrStrArr." );
     System.Console.Error.WriteLine( exc.ToString() );
     }
   if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 11; 
   }