Skip to content

Commit 6b403a1

Browse files
Merge pull request #10 from jun216tee/patch-1
Update README.md
2 parents 11fab35 + 3c60283 commit 6b403a1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

04-Using-GitHub-Copilot-with-CSharp/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ From here, you can click on files to navigate to them and you can ask follow up
6565

6666
### 🚀 Step 1: Run the projects
6767

68-
Now that we have context of what is in the project, let's run it and see it in action.
68+
Now that we have context on what is in the project, let's run it and see it in action.
6969
In order to run the BackEnd project, go to the "Run and Debug" panel, and select the "BackEnd" Project.
7070

7171
![open program.cs in the BackEnd project](./images/006RunBackEndProject.png)
@@ -121,13 +121,13 @@ The selected C# code is part of an ASP.NET Core application using the minimal AP
121121
- `/fix` to propose a fix for the problems in the selected code
122122
- `/generate` to generate code to answer your question
123123

124-
Let's use the `/tests` command to generate tests to the code. Select lines 39-42, press `CTRL + I` to open the inline chat, and type `/tests` (or select the /tests slash command) to generate a new set of tests for this record.
124+
Let's use the `/tests` command to generate tests for the code. Select lines 39-42, press `CTRL + I` to open the inline chat, and type `/tests` (or select the /tests slash command) to generate a new set of tests for this record.
125125

126126
![Use slash command to generate tests for the selected piece of code](./images/012SlashCmdTests.gif)
127127

128-
At this point, GitHub Copilot will suggest a new class. You need to first press [Accept] to create the new file.
128+
At this point, GitHub Copilot will suggest a new class. You need to first press [Accept] to create the new file.
129129

130-
A new class `ProgramTests.cs` was created and added to the project. This tests are using XUnit, however, you can ask to generate tests using another Unit Test library with a command like this one `/tests use MSTests for unit testing`.
130+
A new class `ProgramTests.cs` was created and added to the project. These tests are using XUnit, however, you can ask to generate tests using another Unit Test library with a command like this one `/tests use MSTests for unit testing`.
131131

132132
***Important:** We are not going to use the test file in this project. You must delete the generated test file to continue.*
133133

@@ -150,7 +150,7 @@ Navigate to the end of the file and ask Copilot to generate a new record that in
150150
// create a new internal record named WeatherForecastByCity that request the following parameters: City, Date, TemperatureC, Summary
151151
```
152152

153-
The generated code sould be similar to this one:
153+
The generated code should be similar to this one:
154154

155155
```csharp
156156
// create a new internal record named WeatherForecastByCity that request the following parameters: City, Date, TemperatureC, Summary

0 commit comments

Comments
 (0)