Compartilhar via


false Literal (C# Reference)

Represents the boolean value false.

Example

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

C# Keywords

true (C# Reference)

Concepts

C# Programming Guide

Other Resources

C# Reference