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: learn-pr/wwl-language/csharp-evaluate-boolean-expressions/5-review-solution-conditional-operators-challenge.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,12 @@ title: Review the solution to the conditional operator challenge activity
4
4
metadata:
5
5
title: Review the solution to the conditional operator challenge activity
6
6
description: "Review the solution to the conditional operator challenge activity"
Copy file name to clipboardExpand all lines: learn-pr/wwl-language/csharp-evaluate-boolean-expressions/7-review-solution-boolean-expressions-challenge.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,12 @@ title: Review the solution to the Boolean expressions challenge activity
4
4
metadata:
5
5
title: Review the solution to the Boolean expressions challenge activity
6
6
description: "Review the solution to the Boolean expressions challenge activity"
NoticethatacommandpromptintheTerminalpaneldisplaysthefolderpathfor the current folder. For example:
51
49
52
-
```dos
53
-
C:\Users\someuser\Desktop>
54
-
```
50
+
NoticethatacommandpromptintheTerminalpaneldisplaysthefolderpathfor the current folder. For example:
55
51
56
-
> [!NOTE]
57
-
> 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.
52
+
```PowerShell
53
+
C:\Users\someuser\Desktop>
54
+
```
55
+
56
+
> [!NOTE]
57
+
> 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.
58
+
59
+
1. At the Terminal command prompt, to create a new console application in a specified folder, enter the following prompt:
58
60
59
-
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.
61
+
```dotnetcli
62
+
dotnet new console -o ./CsharpProjects/TestProject
63
+
```
60
64
61
-
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.
65
+
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.
62
66
63
-
1. In the EXPLORER panel, expand the **CsharpProjects** folder.
67
+
If a message is displayed telling you that the files already exist, continue with the next steps. You'll reuse the existing project files.
68
+
69
+
1. In the EXPLORER view, expand the **CsharpProjects** folder.
70
+
71
+
You should see the **TestProject** folder and two files, a C# program file named Program.cs and a C# project file named TestProject.csproj.
72
+
73
+
1. On the Visual Studio Code **File** menu, select **Open Folder**.
64
74
65
-
You should see the TestProject folder and two files, a C# program file named Program.cs and a C# project file named TestProject.csproj.
75
+
1. In the **Open Folder** dialog, select the **CsharpProjects** folder, and then select **Select Folder**.
66
76
67
-
1. In the EXPLORER panel, to view your code file in the Editor panel, select **Program.cs**.
77
+
1. In the EXPLORER view, expand the TestProject folder, and then select **Program.cs**.
68
78
69
79
1. Delete the existing code lines.
70
80
71
-
You'll be using this C# console project to create, build, and run code samples during this module.
81
+
You'll be using this C# console project to create, build, and run code samples during this module.
0 commit comments