C Sharp Programming/Keywords/bool

The keyword is used in field, method, property, and variable declarations and in  and  operations as an alias for the .NET Framework structure. That is, it represents a value of or. Unlike in C++, whose boolean is actually an integer, a in C# is its own data type and cannot be cast to any other primitive type.

/Keywords