false Literal (C# Reference)

Switch View :
ScriptFree
Visual Studio 2010 - Visual C#
false Literal (C# Reference)

Represents the boolean value false.

Example

C#


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



C# Language Specification

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

See Also

Reference

Concepts

Other Resources