You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/csharp/quick-starts/branches-and-loops-local.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ written one of the possible branches for an `if` statement: the true branch.
38
38
> As you explore C# (or any programming language), you'll
39
39
> make mistakes when you write code. The compiler will
40
40
> find and report the errors. Look closely at the error
41
-
> output and the code that generated the error. The compler
41
+
> output and the code that generated the error. The compiler
42
42
> error can usually help you find the problem.
43
43
44
44
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.
0 commit comments