Skip to content

Glossary: C# Basics

bool

Also written: Boolean

A type that holds only `true` or `false`. Every comparison, such as `total >= 50`, gives a `bool`.

Where the book teaches it

Related terms

Comparison operatorsif statement