Output a boolean variable with Console.WriteLine : Boolean Data Type : Data Type C# Examples


C# Examples » Data Type » Boolean Data Type »

 

Output a boolean variable with Console.WriteLine









    
using  System;  
  
class  Example  {  
    public  static  void  Main()  {  
        Console.WriteLine("10  >  9  is  "  +  (10  >  9));  
    }
}
    
   
  
   



Output

10 > 9 is True


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Data Type
» Boolean Data Type