Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/csharp/quick-starts/branches-and-loops-local.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ written one of the possible branches for an `if` statement: the true branch.
> As you explore C# (or any programming language), you'll
> make mistakes when you write code. The compiler will
> find and report the errors. Look closely at the error
> output and the code that generated the error. The compler
> output and the code that generated the error. The compiler
> error can usually help you find the problem.

This first sample shows the power of `if` and Boolean types. A *Boolean* is a variable that can have one of two values: `true` or `false`. C# defines a special type, `bool` for Boolean variables. The `if` statement checks the value of a `bool`. When the value is `true`, the statement following the `if` executes. Otherwise, it is skipped.
Expand Down