chore: import upstream snapshot with attribution
i18n - Build Validation / Validate i18n Builds (24) (push) Has been cancelled
CI - Node.js / Lint (24) (push) Has been cancelled
CI - Node.js / Build (24) (push) Has been cancelled
CI - Node.js / Test (24) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (24) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 24) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 24) (push) Has been cancelled
CD - Docker - GHCR Images / Build and Push Images (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 11:55:53 +08:00
commit dde272c4b8
19405 changed files with 2730632 additions and 0 deletions
@@ -0,0 +1,44 @@
---
id: 647e235a8acb466c97ccbf00
title: Guided Project - Calculate and Print Student Grades
challengeType: 19
dashedName: guided-project-calculate-and-print-student-grades
---
# --description--
This challenge will be partially completed on the Microsoft Learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/training/modules/guided-project-calculate-print-student-grades/" target="_blank" rel="noreferrer">https://learn.microsoft.com/training/modules/guided-project-calculate-print-student-grades/</a> and complete all the tasks for the "Guided Project - Calculate and Print Student Grades" module. This is **required** to earn the "Write Your First Code Using C#" trophy on Microsoft Learn, and qualify for the certification exam.
1. When you are finished, come back and correctly answer the question below.
# --assignment--
Complete the <a href="https://learn.microsoft.com/training/modules/guided-project-calculate-print-student-grades/" target="_blank" rel="noreferrer">Calculate and Print Student Grades</a> guided project on Microsoft Learn. Then, answer the question below.
# --questions--
## --text--
What is wrong with the following code?
```csharp
int sophiaSum;
Console.WriteLine("Sophia: " + sophiaSum);
```
## --answers--
`sophiaSum` is not initialized before use
---
`sophiaSum` is not implicitly typed to a string
---
`sophiaSum` should use the var keyword
## --video-solution--
1
@@ -0,0 +1,41 @@
---
id: 647e236d8acb466c97ccbf01
title: Guided Project - Calculate Final GPA
challengeType: 19
dashedName: guided-project-calculate-final-gpa
---
# --description--
This challenge will be partially completed on the Microsoft Learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/training/modules/guided-project-calculate-final-gpa/" target="_blank" rel="noreferrer">https://learn.microsoft.com/training/modules/guided-project-calculate-final-gpa/</a> and complete all the tasks for the "Guided Project - Calculate Final GPA" module. This is **required** to earn the "Write Your First Code Using C#" trophy on Microsoft Learn, and qualify for the certification exam.
1. When you are finished, come back and correctly answer the question below.
# --assignment--
Complete the <a href="https://learn.microsoft.com/training/modules/guided-project-calculate-final-gpa/" target="_blank" rel="noreferrer">Calculate Final GPA</a> guided project on Microsoft Learn. Then, answer the question below.
# --questions--
## --text--
Suppose `decimal gradePointAverage = 3.99872831m;`.
What is the value of `(int) gradePointAverage`?
## --answers--
3.99
---
4
---
3
## --video-solution--
3
@@ -0,0 +1,43 @@
---
id: 647e23788acb466c97ccbf02
title: Perform Basic Operations on Numbers in C#
challengeType: 19
dashedName: perform-basic-operations-on-numbers-in-c-sharp
---
# --description--
This challenge will be partially completed on the Microsoft Learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-basic-operations/" target="_blank" rel="noreferrer">https://learn.microsoft.com/training/modules/csharp-basic-operations/</a> and complete all the tasks for the "Perform Basic Operations on Numbers in C#" module. This is **required** to earn the "Write Your First Code Using C#" trophy on Microsoft Learn, and qualify for the certification exam.
1. When you are finished, come back and correctly answer the question below.
# --assignment--
Complete the <a href="https://learn.microsoft.com/training/modules/csharp-basic-operations/" target="_blank" rel="noreferrer">Perform Basic Operations on Numbers in C#</a> module on Microsoft Learn. Then, answer the question below.
# --questions--
## --text--
What is the value of the following result?
```csharp
int result = 3 + 1 * 5 / 2;
```
## --answers--
10
---
5
---
6
## --video-solution--
2
@@ -0,0 +1,39 @@
---
id: 647e23828acb466c97ccbf03
title: Perform Basic String Formatting in C#
challengeType: 19
dashedName: perform-basic-string-formatting-in-c-sharp
---
# --description--
This challenge will be partially completed on the Microsoft Learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-basic-formatting/" target="_blank" rel="noreferrer">https://learn.microsoft.com/training/modules/csharp-basic-formatting/</a> and complete all the tasks for the "Perform Basic String Formatting in C#" module. This is **required** to earn the "Write Your First Code Using C#" trophy on Microsoft Learn, and qualify for the certification exam.
1. When you are finished, come back and correctly answer the question below.
# --assignment--
Complete the <a href="https://learn.microsoft.com/training/modules/csharp-basic-formatting/" target="_blank" rel="noreferrer">Perform Basic String Formatting in C#</a> module on Microsoft Learn. Then, answer the question below.
# --questions--
## --text--
Which of the following lines of code correctly uses string interpolation assuming that the variable `value` is a string?
## --answers--
`Console.WriteLine(@"My value: {value}");`
---
`Console.WriteLine($"My value: {value}");`
---
`Console.WriteLine(@"My value: [value]");`
## --video-solution--
2
@@ -0,0 +1,39 @@
---
id: 647e238f8acb466c97ccbf04
title: Store and Retrieve Data Using Literal and Variable Values in C#
challengeType: 19
dashedName: store-and-retrieve-data-using-literal-and-variable-values-in-c-sharp
---
# --description--
This challenge will be partially completed on the Microsoft Learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-literals-variables/" target="_blank" rel="noreferrer">https://learn.microsoft.com/training/modules/csharp-literals-variables/</a> and complete all the tasks for the "Store and Retrieve Data Using Literal and Variable Values in C#" module. This is **required** to earn the "Write Your First Code Using C#" trophy on Microsoft Learn, and qualify for the certification exam.
1. When you are finished, come back and correctly answer the question below.
# --assignment--
Complete the <a href="https://learn.microsoft.com/training/modules/csharp-literals-variables/" target="_blank" rel="noreferrer">Store and Retrieve Data Using Literal and Variable Values in C#</a> module on Microsoft Learn. Then, answer the question below.
# --questions--
## --text--
Which of the following lines of code creates a variable correctly?
## --answers--
`int x = 12.3m;`
---
`decimal x = 12.3m;`
---
`bool x = 'False';`
## --video-solution--
2
@@ -0,0 +1,39 @@
---
id: 647e239e8acb466c97ccbf05
title: Write Your First C# Code
challengeType: 19
dashedName: write-your-first-c-sharp-code
---
# --description--
This challenge will be partially completed on the Microsoft Learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-write-first/" target="_blank" rel="noreferrer">https://learn.microsoft.com/training/modules/csharp-write-first/</a> and complete all the tasks in the "Write Your First C# Code" module. This is **required** to earn the "Write Your First Code Using C#" trophy on Microsoft Learn, and qualify for the certification exam.
1. When you are finished, come back and correctly answer the question below.
# --assignment--
Complete the <a href="https://learn.microsoft.com/training/modules/csharp-write-first/" target="_blank" rel="noreferrer">Write Your First C# Code</a> module on Microsoft Learn. Then, answer the question below.
# --questions--
## --text--
What is the difference between `Console.Write` and `Console.WriteLine`?
## --answers--
`Console.Write` prints the output on a new line.
---
`Console.WriteLine` prints the output on a new line.
---
`Console.WriteLine` appends a new line after the output.
## --video-solution--
3
@@ -0,0 +1,13 @@
---
id: 647f85d407d29547b3bee1bb
title: Trophy - Write Your First Code Using C#
challengeType: 18
dashedName: trophy-write-your-first-code-using-c-sharp
msTrophyId: learn.wwl.get-started-c-sharp-part-1.trophy
---
# --description--
Now that you've completed all of the "Write Your First Code Using C#" challenges, you should have earned the trophy for it on the Microsoft Learn platform. If you don't see this trophy when viewing <a href="https://learn.microsoft.com/users/me/achievements#trophies-section" target="_blank" rel="noreferrer">your achievements page</a>, you have not completed all the tasks and your trophy cannot be verified.
Link your Microsoft username to your freeCodeCamp account and click the "Verify Trophy" button below to complete the challenge. This trophy is **required** to qualify for the certification exam.