diff --git a/guide/english/csharp/do-while-loop/index.md b/guide/english/csharp/do-while-loop/index.md index 81da1966c7..9c5fd4b925 100644 --- a/guide/english/csharp/do-while-loop/index.md +++ b/guide/english/csharp/do-while-loop/index.md @@ -4,7 +4,7 @@ title: Do while loop # Do while Loop -The `do while` loop executes a block of code once and until a condition is false. They are a particular case of `while` loops: they execute a block of code one time and then until the condition is false. A common use of `do while` loops are input checks. +The `do while` loop executes a block of code atleast once and until a condition is false. It is a particular case of `while` loop in which the code is executed atleast once irrespective of the while condition. A common use of `do while` loops are input checks. ## Example ``` @@ -19,8 +19,8 @@ do string input = ""; do { - Console.WriteLine("Type A to continue: "); - input = Console.ReadLine(); + Console.WriteLine("Type A to continue: "); + input = Console.ReadLine(); } while(input != "A"); Console.WriteLine("Bye!");