Export (0) Print
Expand All

false Literal (C# Reference)

Represents the boolean value false.

    class TestClass
        static void Main() 
            bool a = false;
            Console.WriteLine( a ? "yes" : "no" );
    // Output: no

For more information, see the C# Language Specification. The language specification is the definitive source for C# syntax and usage.

Community Additions

© 2014 Microsoft