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/guided-project-work-variable-data-c-sharp/4-exercise-add-suggested-donation-data.yml
description: "Check what you learn in this module."
7
-
ms.date: 04/08/2025
7
+
ms.date: 04/29/2025
8
8
author: wwlpublish
9
9
ms.author: eric
10
10
ms.topic: unit
@@ -25,7 +25,7 @@ quiz:
25
25
- content: "To find a substring in a larger string."
26
26
isCorrect: false
27
27
explanation: "Incorrect. `TryParse()` doesn't find a substring in a larger string."
28
-
- content: "For the code `decimal.TryParse(numberString, out myConvert))` when the type of `numberString` is a String. Which best describes the value type for `myConvert` when the `TryParse()` is successful?"
28
+
- content: "For the code `decimal.TryParse(numberString, out myConvert))`, when the type of `numberString` is a String. Which best describes the value type for `myConvert` when the `TryParse()` is successful?"
29
29
choices:
30
30
- content: "A string representing numeric digits."
Copy file name to clipboardExpand all lines: learn-pr/wwl-language/guided-project-work-variable-data-c-sharp/includes/1-introduction.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,9 @@ In completing this coding project, you apply your C# data knowledge and skills i
7
7
- Search data in arrays to display or update data.
8
8
- Modifying and building complex strings from multiple data sources, and formatting data for display across regions.
9
9
10
-
Your team has found that it's important to search the pet data to identify animals with possible matches based on characteristics provided by potential owners. Further, the team wants to include a fundraising feature to include suggested donation data and to present the pet data with fewer lines of output.
10
+
Your team found that it's important to search the pet data to identify animals with possible matches based on characteristics provided by potential owners. Further, the team wants to include a fundraising feature to include suggested donation data and to present the pet data with fewer lines of output.
11
11
12
-
You begin with a starting application that adds a predefined *sample* data to the pets array. The application has two menu items. The first item displays all the pet data, and the code is complete. The second is menu item, "Display all dogs with a specified characteristic", is "work in progress" that you complete.
12
+
You begin with a starting application that adds predefined *sample* data to the pets array. The application has two menu items. The first menu item started with functional display of the pet data. The second is menu item, "Display all dogs with a specified characteristic," is "work in progress" that you complete.
13
13
14
14
You also make updates to existing code to add `suggestedDonation` data and display all data in a shortened format.
Copy file name to clipboardExpand all lines: learn-pr/wwl-language/guided-project-work-variable-data-c-sharp/includes/3-exercise-review-starter-code.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,11 @@ In this first step of the development process, you review the code provided in t
4
4
5
5
The Program.cs file contains a preliminary version of the application that you're working on. The code includes features to generate and display the sample data for the application, and it displays a list of menu options that define the main features of the application.
6
6
7
-
1. Ensure that you have the **GuidedProject** folder (Guided-project-Work-with-variable-data-in-CSharp-main) open in Visual Studio Code.
7
+
1. Ensure that you have the "**GuidedProject**" folder (Guided-project-Work-with-variable-data-in-CSharp-main) open in Visual Studio Code.
8
8
9
-
The **Prepare** unit (the previous unit in this module) includes a Setup section that describes the process for downloading the initial starting point for the guided project and opening the folder Visual Studio Code. If necessary, go back and follow the Setup instructions.
9
+
The "**Prepare**" unit (the previous unit in this module) includes a Setup section that describes the process for downloading the initial starting point for the guided project and opening the folder Visual Studio Code. If necessary, go back and follow the Setup instructions.
10
10
11
-
1. In the **EXPLORER** view, expand the **Starter** folder, then select **Program.cs**.
11
+
1. In the "**EXPLORER**" view, expand the "**Starter**" folder, then select "**Program.cs**."
12
12
13
13
When you select the Program.cs file, the file contents open in the main Editor area to the right of the EXPLORER.
14
14
@@ -41,7 +41,7 @@ The Program.cs file contains a preliminary version of the application that you'r
41
41
> [!NOTE]
42
42
> When reading user entered values with the `Console.ReadLine()` method, it's best to enable a nullable type string using `string?` to avoid the code compiler generating a warning when you build the project.
43
43
44
-
Thefinalvariable (undercomment #3) isthetwo-dimensionalstringarraynamed `ourAnimals`. Youinitializedthenumberofrows, definedbymaxPets, to8. Thenumberofcharacteristicsthatyou're storing initially is six. The six characteristics match the number of string variables that you examined in the sample code, but the number of characteristics needs to expand to add a field for `suggestedDonation`.
44
+
Thefinalvariable (undercomment #3) isthetwo-dimensionalstringarraynamed `ourAnimals`. Youinitializedthenumberofrows, definedbymaxPets, to8. Thenumberofcharacteristicsthatyou're storing initially is six. The six characteristics match the number of string variables that you examined in the sample code, but the number of characteristics needs to expand to add a field for `suggestedDonation`.
45
45
46
46
1. ScrolldowntheProgram.csfiletoexaminethe `for` loop that contains a `switch` selection construct within its code block.
47
47
@@ -173,10 +173,10 @@ The Program.cs file contains a preliminary version of the application that you'r
0 commit comments