fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. //bool i = true;
  8.  
  9.  
  10. if(0){
  11. Console.WriteLine("true");
  12. }
  13. Console.WriteLine("false");
  14. // your code goes here
  15. }
  16. }
Compilation error #stdin compilation error #stdout 0s 29664KB
stdin
Standard input is empty
compilation info
prog.cs(10,6): error CS0031: Constant value `0' cannot be converted to a `bool'
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty