Skip to content

Commit 149caa2

Browse files
authored
changed files by pdets auto publish service, publishid[6899d34b-6d19-45f4-bf3e-7922abd7c248] and do [publish].
1 parent 899ec4f commit 149caa2

12 files changed

+30
-19
lines changed

learn-pr/wwl-language/csharp-do-while/1-introduction.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Introduction
44
metadata:
55
title: Introduction
66
description: "Introduction"
7-
ms.date: 06/10/2024
7+
ms.date: 06/16/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit

learn-pr/wwl-language/csharp-do-while/2-exercise-do-while-continue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Exercise - Create do and while iteration loops
44
metadata:
55
title: Exercise - Create do and while iteration loops
66
description: "Exercise - Create do and while iteration loops"
7-
ms.date: 06/10/2024
7+
ms.date: 06/16/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit

learn-pr/wwl-language/csharp-do-while/3-challenge.yml renamed to learn-pr/wwl-language/csharp-do-while/3-exercise-challenge-do-while-statements.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ title: Exercise - Complete a challenge activity using do and while iteration sta
44
metadata:
55
title: Exercise - Complete a challenge activity using do and while iteration statements
66
description: "Exercise - Complete a challenge activity using do and while iteration statements"
7-
ms.date: 06/10/2024
7+
ms.date: 06/16/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit
1111
ms.custom:
1212
- N/A
1313
durationInMinutes: 9
1414
content: |
15-
[!include[](includes/3-challenge.md)]
15+
[!include[](includes/3-exercise-challenge-do-while-statements.md)]

learn-pr/wwl-language/csharp-do-while/4-solution.yml renamed to learn-pr/wwl-language/csharp-do-while/4-review-solution-do-while-statements-challenge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ title: Review the solution to do and while challenge activity
44
metadata:
55
title: Review the solution to do and while challenge activity
66
description: "Review the solution to do and while challenge activity"
7-
ms.date: 06/10/2024
7+
ms.date: 06/16/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit
1111
ms.custom:
1212
- N/A
1313
durationInMinutes: 6
1414
content: |
15-
[!include[](includes/4-solution.md)]
15+
[!include[](includes/4-review-solution-do-while-statements-challenge.md)]

learn-pr/wwl-language/csharp-do-while/5-exercise-challenge-differentiate-while-do-statements.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Exercise - Complete a challenge activity to differentiate between do and
44
metadata:
55
title: Exercise - Complete a challenge activity to differentiate between do and while iteration statements
66
description: "Exercise - Complete a challenge activity to differentiate between do and while iteration statements"
7-
ms.date: 06/10/2024
7+
ms.date: 06/16/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit

learn-pr/wwl-language/csharp-do-while/6-review-solution-differentiate-while-do-statements.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Review the solution to do versus while challenge activity
44
metadata:
55
title: Review the solution to do versus while challenge activity
66
description: "Review the solution to do versus while challenge activity"
7-
ms.date: 06/10/2024
7+
ms.date: 06/16/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit

learn-pr/wwl-language/csharp-do-while/7-knowledge-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Module assessment
44
metadata:
55
title: Module assessment
66
description: "Knowledge check"
7-
ms.date: 06/10/2024
7+
ms.date: 06/16/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit

learn-pr/wwl-language/csharp-do-while/8-summary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Summary
44
metadata:
55
title: Summary
66
description: "Summary"
7-
ms.date: 06/10/2024
7+
ms.date: 06/16/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit

learn-pr/wwl-language/csharp-do-while/includes/2-exercise-do-while-continue.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
On the surface, the `do-while` and `while` statements are yet *another* iteration statement that allows you to iterate through a code block and thereby change the flow of execution of your code. However, once we examine how each works, we can better identify the nuances of each iteration statement and when to use them.
23

34
## What is the do-while statement?
@@ -29,7 +30,7 @@ This module includes hands-on activities that guide you through the process of b
2930

3031
1. In the **Open Folder** dialog, navigate to the Windows Desktop folder.
3132

32-
If you have different folder location where you keep code projects, you can use that folder location instead. For this training, the important thing is to have a location that’s easy locate and remember.
33+
If you have a different folder location where you keep code projects, you can use that folder location instead. For this training, the important thing is to have a location that’s easy to locate and remember.
3334

3435
1. In the **Open Folder** dialog, select **Select Folder**.
3536

@@ -39,22 +40,32 @@ This module includes hands-on activities that guide you through the process of b
3940

4041
Notice that a command prompt in the Terminal panel displays the folder path for the current folder. For example:
4142

42-
```dos
43+
```PowerShell
4344
C:\Users\someuser\Desktop>
4445
```
4546
4647
> [!NOTE]
4748
> If you are working on your own PC rather than in a sandbox or hosted environment and you have completed other Microsoft Learn modules in this C# series, you may have already created a project folder for code samples. If that's the case, you can skip over the next step, which is used to create a console app in the TestProject folder.
4849
49-
1. At the Terminal command prompt, to create a new console application in a specified folder, type **dotnet new console -o ./CsharpProjects/TestProject** and then press Enter.
50+
1. At the Terminal command prompt, to create a new console application in a specified folder, enter the following prompt:
51+
52+
```dotnetcli
53+
dotnet new console -o ./CsharpProjects/TestProject
54+
```
55+
56+
This .NET CLI command uses a .NET program template to create a new C# console application project in the specified folder location. The command creates the CsharpProjects and TestProject folders for you, and uses TestProject as the name of your `.csproj` file.
5057
51-
This .NET CLI command uses a .NET program template to create a new C# console application project in the specified folder location. The command creates the CsharpProjects and TestProject folders for us, and uses TestProject as the name of our `.csproj` file.
58+
If a message is displayed telling you that the files already exist, continue with the next steps. You'll reuse the existing project files.
5259
53-
1. In the EXPLORER panel, expand the **CsharpProjects** folder.
60+
1. In the EXPLORER view, expand the **CsharpProjects** folder.
61+
62+
You should see the **TestProject** folder and two files, a C# program file named Program.cs and a C# project file named TestProject.csproj.
63+
64+
1. On the Visual Studio Code **File** menu, select **Open Folder**.
5465
55-
You should see the TestProject folder and two files, a C# program file named Program.cs and a C# project file named TestProject.csproj.
66+
1. In the **Open Folder** dialog, select the **CsharpProjects** folder, and then select **Select Folder**.
5667
57-
1. In the EXPLORER panel, to view your code file in the Editor panel, select **Program.cs**.
68+
1. In the EXPLORER view, expand the TestProject folder, and then select **Program.cs**.
5869
5970
1. Delete the existing code lines.
6071

0 commit comments

Comments
 (0)