From d5ad4e0690b4ccea577648af7035960f59544086 Mon Sep 17 00:00:00 2001 From: Cory Harkins Date: Sun, 28 Oct 2018 05:13:27 -0400 Subject: [PATCH] Added note for bracket requirements on if statements (#20196) --- guide/english/csharp/if/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/guide/english/csharp/if/index.md b/guide/english/csharp/if/index.md index ac7a4d7c97..f95e429a32 100644 --- a/guide/english/csharp/if/index.md +++ b/guide/english/csharp/if/index.md @@ -70,6 +70,7 @@ if(number !=2) ``` Note that the `else` and `else if` sections are not required, while `if` is mandatory. +Also note that if the code following your conditional statement is a single line; you do not have to put the brackets around that code - but the brackets help for readability. ## Example