Skip to content

Commit 1bf30f8

Browse files
Merge pull request #50884 from buzahid/bug-fixes
Bug fixes
2 parents f8fddca + c64a05d commit 1bf30f8

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

learn-pr/wwl-azure/guided-project-create-ai-travel-agent/includes/3-exercise-create-currency-converter.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ For this exercise, you create a plugin that allows the user to convert currency
77

88
In this task, you create a native function that can convert an amount from a base currency to a target currency.
99

10-
1. Navigate to the `CurrencyConverter.cs` file in the **Plugins** folder
10+
1. Navigate to the `CurrencyConverterPlugin.cs` file in the **Plugins** folder
1111

1212
3. Create a `ConvertAmount` function with the following code:
1313

@@ -58,7 +58,7 @@ In this task, you create a native function that can convert an amount from a bas
5858
1. In the `Program.cs` file, register your plugin and enable auto function calling with the following code:
5959

6060
```c#
61-
kernel.ImportPluginFromType<CurrencyConverter>();
61+
kernel.ImportPluginFromType<CurrencyConverterPlugin>();
6262

6363
OpenAIPromptExecutionSettings openAIPromptExecutionSettings = new()
6464
{

learn-pr/wwl-language/csharp-basic-formatting/includes/6-solution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ The following code is one possible solution for the challenge from the previous
66
```csharp
77
string projectName = "ACME";
88
string englishLocation = $@"c:\Exercise\{projectName}\data.txt";
9-
Console.WriteLine($"View English output:\n\t\t{englishLocation}\n");
9+
Console.WriteLine($"View English output:\n\t{englishLocation}\n");
1010

1111
string russianMessage = "\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0440\u0443\u0441\u0441\u043a\u0438\u0439 \u0432\u044b\u0432\u043e\u0434";
1212
string russianLocation = $@"c:\Exercise\{projectName}\ru-RU\data.txt";
13-
Console.WriteLine($"{russianMessage}:\n\t\t{russianLocation}\n");
13+
Console.WriteLine($"{russianMessage}:\n\t{russianLocation}\n");
1414
```
1515

1616
This code represents "*one possible solution*". You may have some variations in naming variables or in the character escape sequences you used. You might use `Console.Write` instead of `Console.WriteLine`, or you might combine the values instead of using several variables.

learn-pr/wwl-language/guided-project-calculate-print-student-grades/includes/5-exercise-format-strings.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,13 @@ In this task, you'll run the code and verify that the output is correct.
110110
1. To verify that your code is working as expected, compare the output of your application with the following output:
111111

112112
```Output
113-
Student Grade
113+
Student Grade
114114

115-
Sophia: 94.6 A
116-
Nicolas: 83.6 B
117-
Zahirah: 83.4 B
118-
Jeong: 95.4 A
115+
Sophia: 94.6 A
116+
Nicolas: 83.6 B
117+
Zahirah: 83.4 B
118+
Jeong: 95.4 A
119119
```
120120

121121
If your code displays different results, you'll need to review your code to find your error and make updates. Run the code again to see if you've fixed the problem. Continue updating and running your code until your code produces the expected results.
122-
122+

learn-pr/wwl-language/guided-project-visit-petting-zoo/includes/6-exercise-display-results.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ In this task, you'll run your application from the Integrated Terminal and verif
128128
void PlanSchoolVisit(string schoolName, int groups = 6)
129129
{
130130
RandomizeAnimals();
131-
string[,] group1 = AssignGroup(groups);
131+
string[,] group = AssignGroup(groups);
132132
Console.WriteLine(schoolName);
133-
PrintGroup(group1);
133+
PrintGroup(group);
134134
}
135135

136136
void RandomizeAnimals()
@@ -206,4 +206,4 @@ In this task, you'll run your application from the Integrated Terminal and verif
206206

207207
You should check that School A has six groups, School B has three groups, and School C has two groups. The order of the animals should be randomized for each school.
208208

209-
If your code produces unexpected errors, you'll need to review your code to find your error and make updates. Run the code again to see if you've fixed the problem. Continue updating and running your code until your code produces the expected results.
209+
If your code produces unexpected errors, you'll need to review your code to find your error and make updates. Run the code again to see if you've fixed the problem. Continue updating and running your code until your code produces the expected results.

0 commit comments

Comments
 (0)