From 1b113c436c5109ff886316f0ec2370f15c7e393d Mon Sep 17 00:00:00 2001 From: Randell Dawson Date: Thu, 20 Jun 2019 17:37:09 -0700 Subject: [PATCH] fix replace c# with csharp for language postfix --- guide/english/csharp/if-else-statement/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/guide/english/csharp/if-else-statement/index.md b/guide/english/csharp/if-else-statement/index.md index fd57ba1d81..b805444e8d 100644 --- a/guide/english/csharp/if-else-statement/index.md +++ b/guide/english/csharp/if-else-statement/index.md @@ -8,7 +8,7 @@ The If...Else statement executes different blocks of code depending on the truth ## Syntax -```C# +```csharp if (boolean expression) { // execute this code block if expression evalutes to true @@ -20,7 +20,7 @@ else ``` ## Example -```C# +```csharp int Price = 30; if (Price == 30) @@ -45,7 +45,7 @@ Price is equal to 30. We can use the ternary `:?` which is great for short if...else statements. For example: -```C# +```csharp int Price = 30; (Price == 30) ? Console.WriteLine("Price is Equal to 30.") : Console.WriteLine("Price is Not Equal to 30.") ```