コード例 #1
0
    public static void Main(String[] args)
    {
        bool          bResult         = false;
        Co4274IsLower o2Co4274IsLower = new Co4274IsLower();

        try
        {
            bResult = o2Co4274IsLower.runTest();
        }
        catch (Exception exc)
        {
            bResult = false;
            Console.Error.WriteLine("Character- Co4274IsLower main caught Exception!");
            Console.Error.WriteLine(exc.ToString());
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 1;
        }
    }
コード例 #2
0
ファイル: co4274islower.cs プロジェクト: ArildF/masters
 public static void Main( String[] args )
   {
   bool bResult = false; 
   Co4274IsLower o2Co4274IsLower = new Co4274IsLower();
   try
     {
     bResult = o2Co4274IsLower.runTest();
     }
   catch ( Exception exc )
     {
     bResult = false;
     Console.Error.WriteLine( "Character- Co4274IsLower main caught Exception!" );
     Console.Error.WriteLine( exc.ToString() );
     }
   if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 1;  
   }