chore(i18n,learn): processed translations (#51414)

This commit is contained in:
camperbot
2023-08-28 21:25:41 +05:30
committed by GitHub
parent 17b3d8eff4
commit 01a2e6c031
525 changed files with 1407 additions and 1717 deletions
@@ -16,7 +16,13 @@ dashedName: step-23
يجب أن يكون لمنتقي `.cabin` الخاص بك الخاصية `animation` بقيمة `cabins 10s linear infinite`.
```js
assert(new __helpers.CSSHelp(document).getStyle('.cabin')?.animation === '10s linear 0s infinite normal none running cabins');
const cabinElementStyles = new __helpers.CSSHelp(document).getStyle('.cabin');
assert(
cabinElementStyles?.animationName === "cabins" &&
cabinElementStyles?.animationDuration === "10s" &&
cabinElementStyles?.animationTimingFunction === "linear" &&
cabinElementStyles?.animationIterationCount === "infinite"
);
```
# --seed--
@@ -9,7 +9,7 @@ dashedName: add-looping-logic-to-your-code-using-the-do-while-and-while-statemen
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-do-while/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-do-while/</a> and complete all the tasks for the "Add Looping Logic to Your Code Using the do-while and while Statements in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-do-while/" target="_blank">https://learn.microsoft.com/training/modules/csharp-do-while/</a> and complete all the tasks for the "Add Looping Logic to Your Code Using the do-while and while Statements in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: branch-the-flow-of-code-using-the-switch-case-construct-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-switch-case/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-switch-case/</a> and complete all the tasks for the "Branch the Flow of Code Using the switch-case Construct in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-switch-case/" target="_blank">https://learn.microsoft.com/training/modules/csharp-switch-case/</a> and complete all the tasks for the "Branch the Flow of Code Using the switch-case Construct in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: challenge-project-develop-branching-and-looping-structures-in-c-shar
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/challenge-project-develop-branching-looping-structures-c-sharp/" target="_blank">https://learn.microsoft.com/en-us/training/modules/challenge-project-develop-branching-looping-structures-c-sharp/</a> and complete all the tasks for the "Challenge Project - Develop Branching and Looping Structures in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/challenge-project-develop-branching-looping-structures-c-sharp/" target="_blank">https://learn.microsoft.com/training/modules/challenge-project-develop-branching-looping-structures-c-sharp/</a> and complete all the tasks for the "Challenge Project - Develop Branching and Looping Structures in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: control-variable-scope-and-logic-using-code-blocks-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-code-blocks/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-code-blocks/</a> and complete all the tasks for the "Control Variable Scope and Logic Using Code Blocks in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-code-blocks/" target="_blank">https://learn.microsoft.com/training/modules/csharp-code-blocks/</a> and complete all the tasks for the "Control Variable Scope and Logic Using Code Blocks in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: evaluate-boolean-expressions-to-make-decisions-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-evaluate-boolean-expressions/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-evaluate-boolean-expressions/</a> and complete all the tasks for the "Evaluate Boolean Expressions to Make Decisions in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-evaluate-boolean-expressions/" target="_blank">https://learn.microsoft.com/training/modules/csharp-evaluate-boolean-expressions/</a> and complete all the tasks for the "Evaluate Boolean Expressions to Make Decisions in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -20,15 +20,15 @@ Which of the following lines of code is a valid use of the conditional operator?
## --answers--
`int value = amount >= 10? 10: 20;`
`int value = amount >= 10 ? 10 : 20;`
---
`int value = amount >= 10: 10? 20;`
`int value = amount >= 10 : 10 ? 20;`
---
`int value = amount >= 10? 10| 20;`
`int value = amount >= 10 ? 10 | 20;`
## --video-solution--
@@ -9,7 +9,7 @@ dashedName: guided-project-develop-conditional-branching-and-looping-structures-
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/guided-project-develop-conditional-branching-looping/" target="_blank">https://learn.microsoft.com/en-us/training/modules/guided-project-develop-conditional-branching-looping/</a> and complete all the tasks for the "Guided Project - Develop Conditional Branching and Looping Structures in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/guided-project-develop-conditional-branching-looping/" target="_blank">https://learn.microsoft.com/training/modules/guided-project-develop-conditional-branching-looping/</a> and complete all the tasks for the "Guided Project - Develop Conditional Branching and Looping Structures in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: iterate-through-a-code-block-using-the-for-statement-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-for/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-for/</a> and complete all the tasks for the "Iterate Through a Code Block Using the for Statement in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-for/" target="_blank">https://learn.microsoft.com/training/modules/csharp-for/</a> and complete all the tasks for the "Iterate Through a Code Block Using the for Statement in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -3,19 +3,11 @@ id: 647f882207d29547b3bee1c0
title: 'Trophy - Add Logic to C# Console Applications'
challengeType: 18
dashedName: trophy-add-logic-to-c-sharp-console-applications
msTrophyId: learn.wwl.get-started-c-sharp-part-3.trophy
---
# --description--
Now that you've completed all of the "Add Logic to C# Console Applications" modules on Microsoft's learn platform, submit the URL to your trophy below.
Now that you've completed all of the "Add Logic to C# Console Applications" challenges, you should have earned a trophy for it on Microsoft's learning platform.
Follow these instructions to find your trophy URL:
1. Go to <a href="https://learn.microsoft.com/en-us/users/me/achievements#badges-section" target="_blank">https://learn.microsoft.com/en-us/users/me/achievements#badges-section</a> using a browser you are logged into Microsoft with
1. Find the trophy for "Add Logic to C# Console Applications" and click the "share" icon next to it
1. Click the "Copy URL" button
1. Paste the URL into the input below
The URL should look similar to this: `https://learn.microsoft.com/en-us/training/achievements/learn.wwl.get-started-c-sharp-part-3.trophy?username=your-username&sharingId=your-sharing-id`
This trophy is required to qualify to take the certification exam.
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 to take the certification exam.
@@ -9,7 +9,7 @@ dashedName: add-decision-logic-to-your-code-using-if-else-and-else-if-statements
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-if-elseif-else/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-if-elseif-else/</a> and complete all the tasks for the "Add Decision Logic to Your Code Using if, else, and else if statements in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-if-elseif-else/" target="_blank">https://learn.microsoft.com/training/modules/csharp-if-elseif-else/</a> and complete all the tasks for the "Add Decision Logic to Your Code Using if, else, and else if statements in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: call-methods-from-the-dot-net-class-library-using-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-call-methods/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-call-methods/</a> and complete all the tasks for the "Call Methods From the .NET Class Library Using C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-call-methods/" target="_blank">https://learn.microsoft.com/training/modules/csharp-call-methods/</a> and complete all the tasks for the "Call Methods From the .NET Class Library Using C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: challenge-project-develop-foreach-and-if-elseif-else-structures-to-p
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/challenge-project-arrays-iteration-selection/" target="_blank">https://learn.microsoft.com/en-us/training/modules/challenge-project-arrays-iteration-selection/</a> and complete all the tasks for the "Challenge Project - Develop foreach and if-elseif-else Structures to Process Array Data in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/challenge-project-arrays-iteration-selection/" target="_blank">https://learn.microsoft.com/training/modules/challenge-project-arrays-iteration-selection/</a> and complete all the tasks for the "Challenge Project - Develop foreach and if-elseif-else Structures to Process Array Data in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: create-readable-code-with-conventions-whitespace-and-comments-in-c-s
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-readable-code/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-readable-code/</a> and complete all the tasks for the "Create Readable Code with Conventions, Whitespace, and Comments in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-readable-code/" target="_blank">https://learn.microsoft.com/training/modules/csharp-readable-code/</a> and complete all the tasks for the "Create Readable Code with Conventions, Whitespace, and Comments in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: guided-project-develop-foreach-and-if-elseif-else-structures-to-proc
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/guided-project-arrays-iteration-selection/" target="_blank">https://learn.microsoft.com/en-us/training/modules/guided-project-arrays-iteration-selection/</a> and complete all the tasks for the "Guided Project - Develop foreach and if-elseif-else Structures to Process Array Data in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/guided-project-arrays-iteration-selection/" target="_blank">https://learn.microsoft.com/training/modules/guided-project-arrays-iteration-selection/</a> and complete all the tasks for the "Guided Project - Develop foreach and if-elseif-else Structures to Process Array Data in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: install-and-configure-visual-studio-code
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/install-configure-visual-studio-code/" target="_blank">https://learn.microsoft.com/en-us/training/modules/install-configure-visual-studio-code/</a> and complete all the tasks for the "Install and Configure Visual Studio Code" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/install-configure-visual-studio-code/" target="_blank">https://learn.microsoft.com/training/modules/install-configure-visual-studio-code/</a> and complete all the tasks for the "Install and Configure Visual Studio Code" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: store-and-iterate-through-sequences-of-data-using-arrays-and-the-for
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-arrays/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-arrays/</a> and complete all the tasks for the "Store and Iterate Through Sequences of Data Using Arrays and the foreach Statement in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-arrays/" target="_blank">https://learn.microsoft.com/training/modules/csharp-arrays/</a> and complete all the tasks for the "Store and Iterate Through Sequences of Data Using Arrays and the foreach Statement in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -3,19 +3,11 @@ id: 647f87dc07d29547b3bee1bf
title: 'Trophy - Create and Run Simple C# Console Applications'
challengeType: 18
dashedName: trophy-create-and-run-simple-c-sharp-console-applications
msTrophyId: learn.wwl.get-started-c-sharp-part-2.trophy
---
# --description--
Now that you've completed all of the "Create and Run Simple C# Console Applications" modules on Microsoft's learn platform, submit the URL to your trophy below.
Now that you've completed all of the "Create and Run Simple C# Console Applications" challenges, you should have earned a trophy for it on Microsoft's learning platform.
Follow these instructions to find your trophy URL:
1. Go to <a href="https://learn.microsoft.com/en-us/users/me/achievements#badges-section" target="_blank">https://learn.microsoft.com/en-us/users/me/achievements#badges-section</a> using a browser you are logged into Microsoft with
1. Find the trophy for "Create and Run Simple C# Console Applications" and click the "share" icon next to it
1. Click the "Copy URL" button
1. Paste the URL into the input below
The URL should look similar to this: `https://learn.microsoft.com/en-us/training/achievements/learn.wwl.get-started-c-sharp-part-2.trophy?username=your-username&sharingId=your-sharing-id`
This trophy is required to qualify to take the certification exam.
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 to take the certification exam.
@@ -9,7 +9,7 @@ dashedName: challenge-project-create-a-mini-game
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/challenge-project-create-mini-game/" target="_blank">https://learn.microsoft.com/en-us/training/modules/challenge-project-create-mini-game/</a> and complete all the tasks for the "Challenge Project - Create a Mini-Game" module. This is required to earn the "Create Methods in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/challenge-project-create-mini-game/" target="_blank">https://learn.microsoft.com/training/modules/challenge-project-create-mini-game/</a> and complete all the tasks for the "Challenge Project - Create a Mini-Game" module. This is required to earn the "Create Methods in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: create-c-sharp-methods-that-return-values
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/create-c-sharp-methods-return-values/" target="_blank">https://learn.microsoft.com/en-us/training/modules/create-c-sharp-methods-return-values/</a> and complete all the tasks for the "Create C# Methods that Return Values" module. This is required to earn the "Create Methods in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/create-c-sharp-methods-return-values/" target="_blank">https://learn.microsoft.com/training/modules/create-c-sharp-methods-return-values/</a> and complete all the tasks for the "Create C# Methods that Return Values" module. This is required to earn the "Create Methods in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,14 +9,20 @@ dashedName: create-c-sharp-methods-with-parameters
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/create-c-sharp-methods-parameters/" target="_blank">https://learn.microsoft.com/en-us/training/modules/create-c-sharp-methods-parameters/</a> and complete all the tasks for the "Create C# Methods with Parameters" module. This is required to earn the "Create Methods in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/create-c-sharp-methods-parameters/" target="_blank">https://learn.microsoft.com/training/modules/create-c-sharp-methods-parameters/</a> and complete all the tasks for the "Create C# Methods with Parameters" module. This is required to earn the "Create Methods in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
## --text--
Given the method signature, `void Print(string name, string number = "", bool member = false)`, which of the following options correctly uses named and optional arguments?
Given the method signature,
```clike
void Print(string name, string number = "", bool member = false)
```
Which of the following options correctly uses named and optional arguments?
## --answers--
@@ -9,7 +9,7 @@ dashedName: guided-project-plan-a-petting-zoo-visit
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/guided-project-visit-petting-zoo/" target="_blank">https://learn.microsoft.com/en-us/training/modules/guided-project-visit-petting-zoo/</a> and complete all the tasks for the "Guided Project - Plan a Petting Zoo Visit" module. This is required to earn the "Create Methods in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/guided-project-visit-petting-zoo/" target="_blank">https://learn.microsoft.com/training/modules/guided-project-visit-petting-zoo/</a> and complete all the tasks for the "Guided Project - Plan a Petting Zoo Visit" module. This is required to earn the "Create Methods in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -3,19 +3,11 @@ id: 647f877f07d29547b3bee1be
title: 'Trophy - Create Methods in C# Console Applications'
challengeType: 18
dashedName: trophy-create-methods-in-c-sharp-console-applications
msTrophyId: learn.wwl.get-started-c-sharp-part-5.trophy
---
# --description--
Now that you've completed all of the "Create Methods in C# Console Applications" modules on Microsoft's learn platform, submit the URL to your trophy below.
Now that you've completed all of the "Create Methods in C# Console Applications" challenges, you should have earned a trophy for it on Microsoft's learning platform.
Follow these instructions to find your trophy URL:
1. Go to <a href="https://learn.microsoft.com/en-us/users/me/achievements#badges-section" target="_blank">https://learn.microsoft.com/en-us/users/me/achievements#badges-section</a> using a browser you are logged into Microsoft with
1. Find the trophy for "Create Methods in C# Console Applications" and click the "share" icon next to it
1. Click the "Copy URL" button
1. Paste the URL into the input below
The URL should look similar to this: `https://learn.microsoft.com/en-us/training/achievements/learn.wwl.get-started-c-sharp-part-5.trophy?username=your-username&sharingId=your-sharing-id`
This trophy is required to qualify to take the certification exam.
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 to take the certification exam.
@@ -9,7 +9,7 @@ dashedName: write-your-first-c-sharp-method
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/write-first-c-sharp-method/" target="_blank">https://learn.microsoft.com/en-us/training/modules/write-first-c-sharp-method/</a> and complete all the tasks for the "Write Your First C# Method" module. This is required to earn the "Create Methods in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/write-first-c-sharp-method/" target="_blank">https://learn.microsoft.com/training/modules/write-first-c-sharp-method/</a> and complete all the tasks for the "Write Your First C# Method" module. This is required to earn the "Create Methods in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: challenge-project-debug-a-c-sharp-console-application-using-visual-s
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/challenge-project-debug-c-sharp-console-application/" target="_blank">https://learn.microsoft.com/en-us/training/modules/challenge-project-debug-c-sharp-console-application/</a> and complete all the tasks for the "Challenge Project - Debug a C# Console Application Using Visual Studio Code" module. This is required to earn the "Debug C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/challenge-project-debug-c-sharp-console-application/" target="_blank">https://learn.microsoft.com/training/modules/challenge-project-debug-c-sharp-console-application/</a> and complete all the tasks for the "Challenge Project - Debug a C# Console Application Using Visual Studio Code" module. This is required to earn the "Debug C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: create-and-throw-exceptions-in-c-sharp-console-applications
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/create-throw-exceptions-c-sharp/" target="_blank">https://learn.microsoft.com/en-us/training/modules/create-throw-exceptions-c-sharp/</a> and complete all the tasks for the "Create and Throw Exceptions in C# Console Applications" module. This is required earn to the "Debug C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/create-throw-exceptions-c-sharp/" target="_blank">https://learn.microsoft.com/training/modules/create-throw-exceptions-c-sharp/</a> and complete all the tasks for the "Create and Throw Exceptions in C# Console Applications" module. This is required earn to the "Debug C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: guided-project-debug-and-handle-exceptions-in-a-c-sharp-console-appl
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/guided-project-debug-handle-exceptions-c-sharp-console-application/" target="_blank">https://learn.microsoft.com/en-us/training/modules/guided-project-debug-handle-exceptions-c-sharp-console-application/</a> and complete all the tasks for the "Guided Project - Debug and Handle Exceptions in a C# Console Application Using Visual Studio Code" module. This is required to earn the "Debug C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/guided-project-debug-handle-exceptions-c-sharp-console-application/" target="_blank">https://learn.microsoft.com/training/modules/guided-project-debug-handle-exceptions-c-sharp-console-application/</a> and complete all the tasks for the "Guided Project - Debug and Handle Exceptions in a C# Console Application Using Visual Studio Code" module. This is required to earn the "Debug C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: implement-exception-handling-in-c-sharp-console-applications
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/implement-exception-handling-c-sharp/" target="_blank">https://learn.microsoft.com/en-us/training/modules/implement-exception-handling-c-sharp/</a> and complete all the tasks for the "Implement Exception Handling in C# Console Applications" module. This is required to earn the "Debug C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/implement-exception-handling-c-sharp/" target="_blank">https://learn.microsoft.com/training/modules/implement-exception-handling-c-sharp/</a> and complete all the tasks for the "Implement Exception Handling in C# Console Applications" module. This is required to earn the "Debug C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: implement-the-visual-studio-code-debugging-tools-for-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/implement-visual-studio-code-debugging-tools/" target="_blank">https://learn.microsoft.com/en-us/training/modules/implement-visual-studio-code-debugging-tools/</a> and complete all the tasks for the "Implement the Visual Studio Code Debugging Tools for C#" module. This is required to earn the "Debug C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/implement-visual-studio-code-debugging-tools/" target="_blank">https://learn.microsoft.com/training/modules/implement-visual-studio-code-debugging-tools/</a> and complete all the tasks for the "Implement the Visual Studio Code Debugging Tools for C#" module. This is required to earn the "Debug C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: review-the-principles-of-code-debugging-and-exception-handling
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/review-principles-code-debugging-exception-handling-c-sharp/" target="_blank">https://learn.microsoft.com/en-us/training/modules/review-principles-code-debugging-exception-handling-c-sharp/</a> and complete all the tasks for the "Review the Principles of Code Debugging and Exception Handling" module. This is required to earn the "Debug C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/review-principles-code-debugging-exception-handling-c-sharp/" target="_blank">https://learn.microsoft.com/training/modules/review-principles-code-debugging-exception-handling-c-sharp/</a> and complete all the tasks for the "Review the Principles of Code Debugging and Exception Handling" module. This is required to earn the "Debug C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -3,19 +3,11 @@ id: 647f86ff07d29547b3bee1bd
title: 'Trophy - Debug C# Console Applications'
challengeType: 18
dashedName: trophy-debug-c-sharp-console-applications
msTrophyId: learn.wwl.get-started-c-sharp-part-6.trophy
---
# --description--
Now that you've completed all of the "Debug C# Console Applications" modules on Microsoft's learn platform, submit the URL to your trophy below.
Now that you've completed all of the "Debug C# Console Applications" challenges, you should have earned a trophy for it on Microsoft's learning platform.
Follow these instructions to find your trophy URL:
1. Go to <a href="https://learn.microsoft.com/en-us/users/me/achievements#badges-section" target="_blank">https://learn.microsoft.com/en-us/users/me/achievements#badges-section</a> using a browser you are logged into Microsoft with
1. Find the trophy for "Debug C# Console Applications" and click the "share" icon next to it
1. Click the "Copy URL" button
1. Paste the URL into the input below
The URL should look similar to this: `https://learn.microsoft.com/en-us/training/achievements/learn.wwl.get-started-c-sharp-part-6.trophy?username=your-username&sharingId=your-sharing-id`
This trophy is required to qualify to take the certification exam.
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 to take the certification exam.
@@ -9,7 +9,7 @@ dashedName: challenge-project-work-with-variable-data-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/challenge-project-work-variable-data-c-sharp/" target="_blank">https://learn.microsoft.com/en-us/training/modules/challenge-project-work-variable-data-c-sharp/</a> and complete all the tasks for the "Challenge Project - Work with Variable Data in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/challenge-project-work-variable-data-c-sharp/" target="_blank">https://learn.microsoft.com/training/modules/challenge-project-work-variable-data-c-sharp/</a> and complete all the tasks for the "Challenge Project - Work with Variable Data in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: choose-the-correct-data-type-in-your-c-sharp-code
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-choose-data-type/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-choose-data-type/</a> and complete all the tasks for the "Choose the Correct Data Type in Your C# Code" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-choose-data-type/" target="_blank">https://learn.microsoft.com/training/modules/csharp-choose-data-type/</a> and complete all the tasks for the "Choose the Correct Data Type in Your C# Code" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: convert-data-types-using-casting-and-conversion-techniques-in-c-shar
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-convert-cast/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-convert-cast/</a> and complete all the tasks for the "Convert Data Types Using Casting and Conversion Techniques in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-convert-cast/" target="_blank">https://learn.microsoft.com/training/modules/csharp-convert-cast/</a> and complete all the tasks for the "Convert Data Types Using Casting and Conversion Techniques in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: format-alphanumeric-data-for-presentation-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-format-strings/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-format-strings/</a> and complete all the tasks for the "Format Alphanumeric Data for Presentation in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-format-strings/" target="_blank">https://learn.microsoft.com/training/modules/csharp-format-strings/</a> and complete all the tasks for the "Format Alphanumeric Data for Presentation in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,14 +9,16 @@ dashedName: guided-project-work-with-variable-data-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/guided-project-work-variable-data-c-sharp/" target="_blank">https://learn.microsoft.com/en-us/training/modules/guided-project-work-variable-data-c-sharp/</a> and complete all the tasks for the "Guided Project - Work with Variable Data in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/guided-project-work-variable-data-c-sharp/" target="_blank">https://learn.microsoft.com/training/modules/guided-project-work-variable-data-c-sharp/</a> and complete all the tasks for the "Guided Project - Work with Variable Data in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
## --text--
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?
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?
## --answers--
@@ -9,7 +9,7 @@ dashedName: modify-the-content-of-string-using-built-in-string-data-type-methods
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-modify-content/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-modify-content/</a> and complete all the tasks for the "Modify the Content of Strings Using Built-In String Data Type Methods in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-modify-content/" target="_blank">https://learn.microsoft.com/training/modules/csharp-modify-content/</a> and complete all the tasks for the "Modify the Content of Strings Using Built-In String Data Type Methods in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: perform-operations-on-arrays-using-helpers-methods-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-arrays-operations/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-arrays-operations/</a> and complete all the tasks for the "Perform Operations on Arrays Using Helper Methods in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-arrays-operations/" target="_blank">https://learn.microsoft.com/training/modules/csharp-arrays-operations/</a> and complete all the tasks for the "Perform Operations on Arrays Using Helper Methods in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -3,19 +3,11 @@ id: 647f867a07d29547b3bee1bc
title: 'Trophy - Work with Variable Data in C# Console Applications'
challengeType: 18
dashedName: trophy-work-with-variable-data-in-c-sharp-console-applications
msTrophyId: learn.wwl.get-started-c-sharp-part-4.trophy
---
# --description--
Now that you've completed all of the "Work with Variable Data in C# Console Applications" modules on Microsoft's learn platform, submit the URL to your trophy below.
Now that you've completed all of the "Work with Variable Data in C# Console Applications" challenges, you should have earned a trophy for it on Microsoft's learning platform.
Follow these instructions to find your trophy URL:
1. Go to <a href="https://learn.microsoft.com/en-us/users/me/achievements#badges-section" target="_blank">https://learn.microsoft.com/en-us/users/me/achievements#badges-section</a> using a browser you are logged into Microsoft with
1. Find the trophy for "Work with Variable Data in C# Console Applications" and click the "share" icon next to it
1. Click the "Copy URL" button
1. Paste the URL into the input below
The URL should look similar to this: `https://learn.microsoft.com/en-us/training/achievements/learn.wwl.get-started-c-sharp-part-4.trophy?username=your-username&sharingId=your-sharing-id`
This trophy is required to qualify to take the certification exam.
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 to take the certification exam.
@@ -9,14 +9,19 @@ dashedName: guided-project-calculate-and-print-student-grades
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/guided-project-calculate-print-student-grades/" target="_blank">https://learn.microsoft.com/en-us/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.
1. Go to <a href="https://learn.microsoft.com/training/modules/guided-project-calculate-print-student-grades/" target="_blank">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.
1. When you are finished, come back and correctly answer the question below.
# --question--
## --text--
What is wrong with the following code? `int sophiaSum; Console.WriteLine("Sophia: " + sophiaSum);`
What is wrong with the following code?
```clike
int sophiaSum;
Console.WriteLine("Sophia: " + sophiaSum);
```
## --answers--
@@ -9,14 +9,16 @@ dashedName: guided-project-calculate-final-gpa
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/guided-project-calculate-final-gpa/" target="_blank">https://learn.microsoft.com/en-us/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.
1. Go to <a href="https://learn.microsoft.com/training/modules/guided-project-calculate-final-gpa/" target="_blank">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.
1. When you are finished, come back and correctly answer the question below.
# --question--
## --text--
Suppose `decimal gradePointAverage = 3.99872831;`. What is the value of `(int) gradePointAverage`?
Suppose `decimal gradePointAverage = 3.99872831;`.
What is the value of `(int) gradePointAverage`?
## --answers--
@@ -9,14 +9,18 @@ dashedName: perform-basic-operations-on-numbers-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-basic-operations/" target="_blank">https://learn.microsoft.com/en-us/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.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-basic-operations/" target="_blank">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.
1. When you are finished, come back and correctly answer the question below.
# --question--
## --text--
What is the value of the following result? `int result = 3 + 1 * 5 / 2;`
What is the value of the following result?
```clike
int result = 3 + 1 * 5 / 2;
```
## --answers--
@@ -30,10 +34,6 @@ What is the value of the following result? `int result = 3 + 1 * 5 / 2;`
6
---
5.5
## --video-solution--
2
@@ -9,7 +9,7 @@ dashedName: perform-basic-string-formatting-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-basic-formatting/" target="_blank">https://learn.microsoft.com/en-us/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.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-basic-formatting/" target="_blank">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.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -20,15 +20,15 @@ Which of the following lines of code correctly uses string interpolation assumin
## --answers--
'`Console.WriteLine(@"My value: {value}");'`'
`Console.WriteLine(@"My value: {value}");`
---
'`Console.WriteLine($"My value: {value}");`'
`Console.WriteLine($"My value: {value}");`
---
'`Console.WriteLine(@"My value: [value]");`'
`Console.WriteLine(@"My value: [value]");`
## --video-solution--
@@ -9,7 +9,7 @@ dashedName: store-and-retrieve-data-using-literal-and-variable-values-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-literals-variables/" target="_blank">https://learn.microsoft.com/en-us/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.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-literals-variables/" target="_blank">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.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -3,19 +3,11 @@ 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#" modules on Microsoft's learn platform, submit the URL to your trophy below.
Now that you've completed all of the "Write Your First Code Using C#" challenges, you should have earned a trophy for it on Microsoft's learning platform.
Follow these instructions to find your trophy URL:
1. Go to <a href="https://learn.microsoft.com/en-us/users/me/achievements#badges-section" target="_blank">https://learn.microsoft.com/en-us/users/me/achievements#badges-section</a> using a browser you are logged into Microsoft with
1. Find the trophy for "Write Your First Code Using C#" and click the "share" icon next to it
1. Click the "Copy URL" button
1. Paste the URL into the input below
The URL should look similar to this: `https://learn.microsoft.com/en-us/training/achievements/learn.wwl.get-started-c-sharp-part-1.trophy?username=your-username&sharingId=your-sharing-id`
This trophy is required to qualify to take the certification exam.
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 to take the certification exam.
@@ -9,7 +9,7 @@ dashedName: write-your-first-c-sharp-code
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-write-first/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-write-first/</a> and complete all the tasks for the "Write Your First C# Code" module. This is required to earn the "Write Your First Code Using C#" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-write-first/" target="_blank">https://learn.microsoft.com/training/modules/csharp-write-first/</a> and complete all the tasks for the "Write Your First C# Code" module. This is required to earn the "Write Your First Code Using C#" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -30,10 +30,6 @@ What is the difference between `Console.Write` and `Console.WriteLine`?
`Console.WriteLine` appends a new line after the output.
---
There is no difference.
## --video-solution--
3
@@ -16,7 +16,13 @@ dashedName: step-23
你的 `.cabin` 選擇器應該有一個 `animation` 屬性值爲 `cabins 10s linear infinite`。
```js
assert(new __helpers.CSSHelp(document).getStyle('.cabin')?.animation === '10s linear 0s infinite normal none running cabins');
const cabinElementStyles = new __helpers.CSSHelp(document).getStyle('.cabin');
assert(
cabinElementStyles?.animationName === "cabins" &&
cabinElementStyles?.animationDuration === "10s" &&
cabinElementStyles?.animationTimingFunction === "linear" &&
cabinElementStyles?.animationIterationCount === "infinite"
);
```
# --seed--
@@ -9,7 +9,7 @@ dashedName: add-looping-logic-to-your-code-using-the-do-while-and-while-statemen
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-do-while/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-do-while/</a> and complete all the tasks for the "Add Looping Logic to Your Code Using the do-while and while Statements in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-do-while/" target="_blank">https://learn.microsoft.com/training/modules/csharp-do-while/</a> and complete all the tasks for the "Add Looping Logic to Your Code Using the do-while and while Statements in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: branch-the-flow-of-code-using-the-switch-case-construct-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-switch-case/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-switch-case/</a> and complete all the tasks for the "Branch the Flow of Code Using the switch-case Construct in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-switch-case/" target="_blank">https://learn.microsoft.com/training/modules/csharp-switch-case/</a> and complete all the tasks for the "Branch the Flow of Code Using the switch-case Construct in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: challenge-project-develop-branching-and-looping-structures-in-c-shar
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/challenge-project-develop-branching-looping-structures-c-sharp/" target="_blank">https://learn.microsoft.com/en-us/training/modules/challenge-project-develop-branching-looping-structures-c-sharp/</a> and complete all the tasks for the "Challenge Project - Develop Branching and Looping Structures in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/challenge-project-develop-branching-looping-structures-c-sharp/" target="_blank">https://learn.microsoft.com/training/modules/challenge-project-develop-branching-looping-structures-c-sharp/</a> and complete all the tasks for the "Challenge Project - Develop Branching and Looping Structures in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: control-variable-scope-and-logic-using-code-blocks-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-code-blocks/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-code-blocks/</a> and complete all the tasks for the "Control Variable Scope and Logic Using Code Blocks in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-code-blocks/" target="_blank">https://learn.microsoft.com/training/modules/csharp-code-blocks/</a> and complete all the tasks for the "Control Variable Scope and Logic Using Code Blocks in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: evaluate-boolean-expressions-to-make-decisions-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-evaluate-boolean-expressions/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-evaluate-boolean-expressions/</a> and complete all the tasks for the "Evaluate Boolean Expressions to Make Decisions in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-evaluate-boolean-expressions/" target="_blank">https://learn.microsoft.com/training/modules/csharp-evaluate-boolean-expressions/</a> and complete all the tasks for the "Evaluate Boolean Expressions to Make Decisions in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -20,15 +20,15 @@ Which of the following lines of code is a valid use of the conditional operator?
## --answers--
`int value = amount >= 10? 10: 20;`
`int value = amount >= 10 ? 10 : 20;`
---
`int value = amount >= 10: 10? 20;`
`int value = amount >= 10 : 10 ? 20;`
---
`int value = amount >= 10? 10| 20;`
`int value = amount >= 10 ? 10 | 20;`
## --video-solution--
@@ -9,7 +9,7 @@ dashedName: guided-project-develop-conditional-branching-and-looping-structures-
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/guided-project-develop-conditional-branching-looping/" target="_blank">https://learn.microsoft.com/en-us/training/modules/guided-project-develop-conditional-branching-looping/</a> and complete all the tasks for the "Guided Project - Develop Conditional Branching and Looping Structures in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/guided-project-develop-conditional-branching-looping/" target="_blank">https://learn.microsoft.com/training/modules/guided-project-develop-conditional-branching-looping/</a> and complete all the tasks for the "Guided Project - Develop Conditional Branching and Looping Structures in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: iterate-through-a-code-block-using-the-for-statement-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-for/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-for/</a> and complete all the tasks for the "Iterate Through a Code Block Using the for Statement in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-for/" target="_blank">https://learn.microsoft.com/training/modules/csharp-for/</a> and complete all the tasks for the "Iterate Through a Code Block Using the for Statement in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -3,19 +3,11 @@ id: 647f882207d29547b3bee1c0
title: 'Trophy - Add Logic to C# Console Applications'
challengeType: 18
dashedName: trophy-add-logic-to-c-sharp-console-applications
msTrophyId: learn.wwl.get-started-c-sharp-part-3.trophy
---
# --description--
Now that you've completed all of the "Add Logic to C# Console Applications" modules on Microsoft's learn platform, submit the URL to your trophy below.
Now that you've completed all of the "Add Logic to C# Console Applications" challenges, you should have earned a trophy for it on Microsoft's learning platform.
Follow these instructions to find your trophy URL:
1. Go to <a href="https://learn.microsoft.com/en-us/users/me/achievements#badges-section" target="_blank">https://learn.microsoft.com/en-us/users/me/achievements#badges-section</a> using a browser you are logged into Microsoft with
1. Find the trophy for "Add Logic to C# Console Applications" and click the "share" icon next to it
1. Click the "Copy URL" button
1. Paste the URL into the input below
The URL should look similar to this: `https://learn.microsoft.com/en-us/training/achievements/learn.wwl.get-started-c-sharp-part-3.trophy?username=your-username&sharingId=your-sharing-id`
This trophy is required to qualify to take the certification exam.
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 to take the certification exam.
@@ -9,7 +9,7 @@ dashedName: add-decision-logic-to-your-code-using-if-else-and-else-if-statements
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-if-elseif-else/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-if-elseif-else/</a> and complete all the tasks for the "Add Decision Logic to Your Code Using if, else, and else if statements in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-if-elseif-else/" target="_blank">https://learn.microsoft.com/training/modules/csharp-if-elseif-else/</a> and complete all the tasks for the "Add Decision Logic to Your Code Using if, else, and else if statements in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: call-methods-from-the-dot-net-class-library-using-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-call-methods/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-call-methods/</a> and complete all the tasks for the "Call Methods From the .NET Class Library Using C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-call-methods/" target="_blank">https://learn.microsoft.com/training/modules/csharp-call-methods/</a> and complete all the tasks for the "Call Methods From the .NET Class Library Using C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: challenge-project-develop-foreach-and-if-elseif-else-structures-to-p
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/challenge-project-arrays-iteration-selection/" target="_blank">https://learn.microsoft.com/en-us/training/modules/challenge-project-arrays-iteration-selection/</a> and complete all the tasks for the "Challenge Project - Develop foreach and if-elseif-else Structures to Process Array Data in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/challenge-project-arrays-iteration-selection/" target="_blank">https://learn.microsoft.com/training/modules/challenge-project-arrays-iteration-selection/</a> and complete all the tasks for the "Challenge Project - Develop foreach and if-elseif-else Structures to Process Array Data in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: create-readable-code-with-conventions-whitespace-and-comments-in-c-s
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-readable-code/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-readable-code/</a> and complete all the tasks for the "Create Readable Code with Conventions, Whitespace, and Comments in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-readable-code/" target="_blank">https://learn.microsoft.com/training/modules/csharp-readable-code/</a> and complete all the tasks for the "Create Readable Code with Conventions, Whitespace, and Comments in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: guided-project-develop-foreach-and-if-elseif-else-structures-to-proc
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/guided-project-arrays-iteration-selection/" target="_blank">https://learn.microsoft.com/en-us/training/modules/guided-project-arrays-iteration-selection/</a> and complete all the tasks for the "Guided Project - Develop foreach and if-elseif-else Structures to Process Array Data in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/guided-project-arrays-iteration-selection/" target="_blank">https://learn.microsoft.com/training/modules/guided-project-arrays-iteration-selection/</a> and complete all the tasks for the "Guided Project - Develop foreach and if-elseif-else Structures to Process Array Data in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: install-and-configure-visual-studio-code
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/install-configure-visual-studio-code/" target="_blank">https://learn.microsoft.com/en-us/training/modules/install-configure-visual-studio-code/</a> and complete all the tasks for the "Install and Configure Visual Studio Code" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/install-configure-visual-studio-code/" target="_blank">https://learn.microsoft.com/training/modules/install-configure-visual-studio-code/</a> and complete all the tasks for the "Install and Configure Visual Studio Code" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: store-and-iterate-through-sequences-of-data-using-arrays-and-the-for
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-arrays/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-arrays/</a> and complete all the tasks for the "Store and Iterate Through Sequences of Data Using Arrays and the foreach Statement in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-arrays/" target="_blank">https://learn.microsoft.com/training/modules/csharp-arrays/</a> and complete all the tasks for the "Store and Iterate Through Sequences of Data Using Arrays and the foreach Statement in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -3,19 +3,11 @@ id: 647f87dc07d29547b3bee1bf
title: 'Trophy - Create and Run Simple C# Console Applications'
challengeType: 18
dashedName: trophy-create-and-run-simple-c-sharp-console-applications
msTrophyId: learn.wwl.get-started-c-sharp-part-2.trophy
---
# --description--
Now that you've completed all of the "Create and Run Simple C# Console Applications" modules on Microsoft's learn platform, submit the URL to your trophy below.
Now that you've completed all of the "Create and Run Simple C# Console Applications" challenges, you should have earned a trophy for it on Microsoft's learning platform.
Follow these instructions to find your trophy URL:
1. Go to <a href="https://learn.microsoft.com/en-us/users/me/achievements#badges-section" target="_blank">https://learn.microsoft.com/en-us/users/me/achievements#badges-section</a> using a browser you are logged into Microsoft with
1. Find the trophy for "Create and Run Simple C# Console Applications" and click the "share" icon next to it
1. Click the "Copy URL" button
1. Paste the URL into the input below
The URL should look similar to this: `https://learn.microsoft.com/en-us/training/achievements/learn.wwl.get-started-c-sharp-part-2.trophy?username=your-username&sharingId=your-sharing-id`
This trophy is required to qualify to take the certification exam.
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 to take the certification exam.
@@ -9,7 +9,7 @@ dashedName: challenge-project-create-a-mini-game
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/challenge-project-create-mini-game/" target="_blank">https://learn.microsoft.com/en-us/training/modules/challenge-project-create-mini-game/</a> and complete all the tasks for the "Challenge Project - Create a Mini-Game" module. This is required to earn the "Create Methods in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/challenge-project-create-mini-game/" target="_blank">https://learn.microsoft.com/training/modules/challenge-project-create-mini-game/</a> and complete all the tasks for the "Challenge Project - Create a Mini-Game" module. This is required to earn the "Create Methods in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: create-c-sharp-methods-that-return-values
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/create-c-sharp-methods-return-values/" target="_blank">https://learn.microsoft.com/en-us/training/modules/create-c-sharp-methods-return-values/</a> and complete all the tasks for the "Create C# Methods that Return Values" module. This is required to earn the "Create Methods in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/create-c-sharp-methods-return-values/" target="_blank">https://learn.microsoft.com/training/modules/create-c-sharp-methods-return-values/</a> and complete all the tasks for the "Create C# Methods that Return Values" module. This is required to earn the "Create Methods in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,14 +9,20 @@ dashedName: create-c-sharp-methods-with-parameters
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/create-c-sharp-methods-parameters/" target="_blank">https://learn.microsoft.com/en-us/training/modules/create-c-sharp-methods-parameters/</a> and complete all the tasks for the "Create C# Methods with Parameters" module. This is required to earn the "Create Methods in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/create-c-sharp-methods-parameters/" target="_blank">https://learn.microsoft.com/training/modules/create-c-sharp-methods-parameters/</a> and complete all the tasks for the "Create C# Methods with Parameters" module. This is required to earn the "Create Methods in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
## --text--
Given the method signature, `void Print(string name, string number = "", bool member = false)`, which of the following options correctly uses named and optional arguments?
Given the method signature,
```clike
void Print(string name, string number = "", bool member = false)
```
Which of the following options correctly uses named and optional arguments?
## --answers--
@@ -9,7 +9,7 @@ dashedName: guided-project-plan-a-petting-zoo-visit
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/guided-project-visit-petting-zoo/" target="_blank">https://learn.microsoft.com/en-us/training/modules/guided-project-visit-petting-zoo/</a> and complete all the tasks for the "Guided Project - Plan a Petting Zoo Visit" module. This is required to earn the "Create Methods in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/guided-project-visit-petting-zoo/" target="_blank">https://learn.microsoft.com/training/modules/guided-project-visit-petting-zoo/</a> and complete all the tasks for the "Guided Project - Plan a Petting Zoo Visit" module. This is required to earn the "Create Methods in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -3,19 +3,11 @@ id: 647f877f07d29547b3bee1be
title: 'Trophy - Create Methods in C# Console Applications'
challengeType: 18
dashedName: trophy-create-methods-in-c-sharp-console-applications
msTrophyId: learn.wwl.get-started-c-sharp-part-5.trophy
---
# --description--
Now that you've completed all of the "Create Methods in C# Console Applications" modules on Microsoft's learn platform, submit the URL to your trophy below.
Now that you've completed all of the "Create Methods in C# Console Applications" challenges, you should have earned a trophy for it on Microsoft's learning platform.
Follow these instructions to find your trophy URL:
1. Go to <a href="https://learn.microsoft.com/en-us/users/me/achievements#badges-section" target="_blank">https://learn.microsoft.com/en-us/users/me/achievements#badges-section</a> using a browser you are logged into Microsoft with
1. Find the trophy for "Create Methods in C# Console Applications" and click the "share" icon next to it
1. Click the "Copy URL" button
1. Paste the URL into the input below
The URL should look similar to this: `https://learn.microsoft.com/en-us/training/achievements/learn.wwl.get-started-c-sharp-part-5.trophy?username=your-username&sharingId=your-sharing-id`
This trophy is required to qualify to take the certification exam.
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 to take the certification exam.
@@ -9,7 +9,7 @@ dashedName: write-your-first-c-sharp-method
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/write-first-c-sharp-method/" target="_blank">https://learn.microsoft.com/en-us/training/modules/write-first-c-sharp-method/</a> and complete all the tasks for the "Write Your First C# Method" module. This is required to earn the "Create Methods in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/write-first-c-sharp-method/" target="_blank">https://learn.microsoft.com/training/modules/write-first-c-sharp-method/</a> and complete all the tasks for the "Write Your First C# Method" module. This is required to earn the "Create Methods in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: challenge-project-debug-a-c-sharp-console-application-using-visual-s
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/challenge-project-debug-c-sharp-console-application/" target="_blank">https://learn.microsoft.com/en-us/training/modules/challenge-project-debug-c-sharp-console-application/</a> and complete all the tasks for the "Challenge Project - Debug a C# Console Application Using Visual Studio Code" module. This is required to earn the "Debug C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/challenge-project-debug-c-sharp-console-application/" target="_blank">https://learn.microsoft.com/training/modules/challenge-project-debug-c-sharp-console-application/</a> and complete all the tasks for the "Challenge Project - Debug a C# Console Application Using Visual Studio Code" module. This is required to earn the "Debug C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: create-and-throw-exceptions-in-c-sharp-console-applications
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/create-throw-exceptions-c-sharp/" target="_blank">https://learn.microsoft.com/en-us/training/modules/create-throw-exceptions-c-sharp/</a> and complete all the tasks for the "Create and Throw Exceptions in C# Console Applications" module. This is required earn to the "Debug C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/create-throw-exceptions-c-sharp/" target="_blank">https://learn.microsoft.com/training/modules/create-throw-exceptions-c-sharp/</a> and complete all the tasks for the "Create and Throw Exceptions in C# Console Applications" module. This is required earn to the "Debug C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: guided-project-debug-and-handle-exceptions-in-a-c-sharp-console-appl
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/guided-project-debug-handle-exceptions-c-sharp-console-application/" target="_blank">https://learn.microsoft.com/en-us/training/modules/guided-project-debug-handle-exceptions-c-sharp-console-application/</a> and complete all the tasks for the "Guided Project - Debug and Handle Exceptions in a C# Console Application Using Visual Studio Code" module. This is required to earn the "Debug C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/guided-project-debug-handle-exceptions-c-sharp-console-application/" target="_blank">https://learn.microsoft.com/training/modules/guided-project-debug-handle-exceptions-c-sharp-console-application/</a> and complete all the tasks for the "Guided Project - Debug and Handle Exceptions in a C# Console Application Using Visual Studio Code" module. This is required to earn the "Debug C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: implement-exception-handling-in-c-sharp-console-applications
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/implement-exception-handling-c-sharp/" target="_blank">https://learn.microsoft.com/en-us/training/modules/implement-exception-handling-c-sharp/</a> and complete all the tasks for the "Implement Exception Handling in C# Console Applications" module. This is required to earn the "Debug C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/implement-exception-handling-c-sharp/" target="_blank">https://learn.microsoft.com/training/modules/implement-exception-handling-c-sharp/</a> and complete all the tasks for the "Implement Exception Handling in C# Console Applications" module. This is required to earn the "Debug C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: implement-the-visual-studio-code-debugging-tools-for-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/implement-visual-studio-code-debugging-tools/" target="_blank">https://learn.microsoft.com/en-us/training/modules/implement-visual-studio-code-debugging-tools/</a> and complete all the tasks for the "Implement the Visual Studio Code Debugging Tools for C#" module. This is required to earn the "Debug C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/implement-visual-studio-code-debugging-tools/" target="_blank">https://learn.microsoft.com/training/modules/implement-visual-studio-code-debugging-tools/</a> and complete all the tasks for the "Implement the Visual Studio Code Debugging Tools for C#" module. This is required to earn the "Debug C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: review-the-principles-of-code-debugging-and-exception-handling
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/review-principles-code-debugging-exception-handling-c-sharp/" target="_blank">https://learn.microsoft.com/en-us/training/modules/review-principles-code-debugging-exception-handling-c-sharp/</a> and complete all the tasks for the "Review the Principles of Code Debugging and Exception Handling" module. This is required to earn the "Debug C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/review-principles-code-debugging-exception-handling-c-sharp/" target="_blank">https://learn.microsoft.com/training/modules/review-principles-code-debugging-exception-handling-c-sharp/</a> and complete all the tasks for the "Review the Principles of Code Debugging and Exception Handling" module. This is required to earn the "Debug C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -3,19 +3,11 @@ id: 647f86ff07d29547b3bee1bd
title: 'Trophy - Debug C# Console Applications'
challengeType: 18
dashedName: trophy-debug-c-sharp-console-applications
msTrophyId: learn.wwl.get-started-c-sharp-part-6.trophy
---
# --description--
Now that you've completed all of the "Debug C# Console Applications" modules on Microsoft's learn platform, submit the URL to your trophy below.
Now that you've completed all of the "Debug C# Console Applications" challenges, you should have earned a trophy for it on Microsoft's learning platform.
Follow these instructions to find your trophy URL:
1. Go to <a href="https://learn.microsoft.com/en-us/users/me/achievements#badges-section" target="_blank">https://learn.microsoft.com/en-us/users/me/achievements#badges-section</a> using a browser you are logged into Microsoft with
1. Find the trophy for "Debug C# Console Applications" and click the "share" icon next to it
1. Click the "Copy URL" button
1. Paste the URL into the input below
The URL should look similar to this: `https://learn.microsoft.com/en-us/training/achievements/learn.wwl.get-started-c-sharp-part-6.trophy?username=your-username&sharingId=your-sharing-id`
This trophy is required to qualify to take the certification exam.
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 to take the certification exam.
@@ -9,7 +9,7 @@ dashedName: challenge-project-work-with-variable-data-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/challenge-project-work-variable-data-c-sharp/" target="_blank">https://learn.microsoft.com/en-us/training/modules/challenge-project-work-variable-data-c-sharp/</a> and complete all the tasks for the "Challenge Project - Work with Variable Data in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/challenge-project-work-variable-data-c-sharp/" target="_blank">https://learn.microsoft.com/training/modules/challenge-project-work-variable-data-c-sharp/</a> and complete all the tasks for the "Challenge Project - Work with Variable Data in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: choose-the-correct-data-type-in-your-c-sharp-code
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-choose-data-type/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-choose-data-type/</a> and complete all the tasks for the "Choose the Correct Data Type in Your C# Code" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-choose-data-type/" target="_blank">https://learn.microsoft.com/training/modules/csharp-choose-data-type/</a> and complete all the tasks for the "Choose the Correct Data Type in Your C# Code" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: convert-data-types-using-casting-and-conversion-techniques-in-c-shar
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-convert-cast/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-convert-cast/</a> and complete all the tasks for the "Convert Data Types Using Casting and Conversion Techniques in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-convert-cast/" target="_blank">https://learn.microsoft.com/training/modules/csharp-convert-cast/</a> and complete all the tasks for the "Convert Data Types Using Casting and Conversion Techniques in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: format-alphanumeric-data-for-presentation-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-format-strings/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-format-strings/</a> and complete all the tasks for the "Format Alphanumeric Data for Presentation in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-format-strings/" target="_blank">https://learn.microsoft.com/training/modules/csharp-format-strings/</a> and complete all the tasks for the "Format Alphanumeric Data for Presentation in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,14 +9,16 @@ dashedName: guided-project-work-with-variable-data-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/guided-project-work-variable-data-c-sharp/" target="_blank">https://learn.microsoft.com/en-us/training/modules/guided-project-work-variable-data-c-sharp/</a> and complete all the tasks for the "Guided Project - Work with Variable Data in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/guided-project-work-variable-data-c-sharp/" target="_blank">https://learn.microsoft.com/training/modules/guided-project-work-variable-data-c-sharp/</a> and complete all the tasks for the "Guided Project - Work with Variable Data in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
## --text--
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?
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?
## --answers--
@@ -9,7 +9,7 @@ dashedName: modify-the-content-of-string-using-built-in-string-data-type-methods
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-modify-content/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-modify-content/</a> and complete all the tasks for the "Modify the Content of Strings Using Built-In String Data Type Methods in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-modify-content/" target="_blank">https://learn.microsoft.com/training/modules/csharp-modify-content/</a> and complete all the tasks for the "Modify the Content of Strings Using Built-In String Data Type Methods in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: perform-operations-on-arrays-using-helpers-methods-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-arrays-operations/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-arrays-operations/</a> and complete all the tasks for the "Perform Operations on Arrays Using Helper Methods in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-arrays-operations/" target="_blank">https://learn.microsoft.com/training/modules/csharp-arrays-operations/</a> and complete all the tasks for the "Perform Operations on Arrays Using Helper Methods in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -3,19 +3,11 @@ id: 647f867a07d29547b3bee1bc
title: 'Trophy - Work with Variable Data in C# Console Applications'
challengeType: 18
dashedName: trophy-work-with-variable-data-in-c-sharp-console-applications
msTrophyId: learn.wwl.get-started-c-sharp-part-4.trophy
---
# --description--
Now that you've completed all of the "Work with Variable Data in C# Console Applications" modules on Microsoft's learn platform, submit the URL to your trophy below.
Now that you've completed all of the "Work with Variable Data in C# Console Applications" challenges, you should have earned a trophy for it on Microsoft's learning platform.
Follow these instructions to find your trophy URL:
1. Go to <a href="https://learn.microsoft.com/en-us/users/me/achievements#badges-section" target="_blank">https://learn.microsoft.com/en-us/users/me/achievements#badges-section</a> using a browser you are logged into Microsoft with
1. Find the trophy for "Work with Variable Data in C# Console Applications" and click the "share" icon next to it
1. Click the "Copy URL" button
1. Paste the URL into the input below
The URL should look similar to this: `https://learn.microsoft.com/en-us/training/achievements/learn.wwl.get-started-c-sharp-part-4.trophy?username=your-username&sharingId=your-sharing-id`
This trophy is required to qualify to take the certification exam.
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 to take the certification exam.
@@ -9,14 +9,19 @@ dashedName: guided-project-calculate-and-print-student-grades
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/guided-project-calculate-print-student-grades/" target="_blank">https://learn.microsoft.com/en-us/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.
1. Go to <a href="https://learn.microsoft.com/training/modules/guided-project-calculate-print-student-grades/" target="_blank">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.
1. When you are finished, come back and correctly answer the question below.
# --question--
## --text--
What is wrong with the following code? `int sophiaSum; Console.WriteLine("Sophia: " + sophiaSum);`
What is wrong with the following code?
```clike
int sophiaSum;
Console.WriteLine("Sophia: " + sophiaSum);
```
## --answers--
@@ -9,14 +9,16 @@ dashedName: guided-project-calculate-final-gpa
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/guided-project-calculate-final-gpa/" target="_blank">https://learn.microsoft.com/en-us/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.
1. Go to <a href="https://learn.microsoft.com/training/modules/guided-project-calculate-final-gpa/" target="_blank">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.
1. When you are finished, come back and correctly answer the question below.
# --question--
## --text--
Suppose `decimal gradePointAverage = 3.99872831;`. What is the value of `(int) gradePointAverage`?
Suppose `decimal gradePointAverage = 3.99872831;`.
What is the value of `(int) gradePointAverage`?
## --answers--
@@ -9,14 +9,18 @@ dashedName: perform-basic-operations-on-numbers-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-basic-operations/" target="_blank">https://learn.microsoft.com/en-us/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.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-basic-operations/" target="_blank">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.
1. When you are finished, come back and correctly answer the question below.
# --question--
## --text--
What is the value of the following result? `int result = 3 + 1 * 5 / 2;`
What is the value of the following result?
```clike
int result = 3 + 1 * 5 / 2;
```
## --answers--
@@ -30,10 +34,6 @@ What is the value of the following result? `int result = 3 + 1 * 5 / 2;`
6
---
5.5
## --video-solution--
2
@@ -9,7 +9,7 @@ dashedName: perform-basic-string-formatting-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-basic-formatting/" target="_blank">https://learn.microsoft.com/en-us/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.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-basic-formatting/" target="_blank">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.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -20,15 +20,15 @@ Which of the following lines of code correctly uses string interpolation assumin
## --answers--
'`Console.WriteLine(@"My value: {value}");'`'
`Console.WriteLine(@"My value: {value}");`
---
'`Console.WriteLine($"My value: {value}");`'
`Console.WriteLine($"My value: {value}");`
---
'`Console.WriteLine(@"My value: [value]");`'
`Console.WriteLine(@"My value: [value]");`
## --video-solution--
@@ -9,7 +9,7 @@ dashedName: store-and-retrieve-data-using-literal-and-variable-values-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-literals-variables/" target="_blank">https://learn.microsoft.com/en-us/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.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-literals-variables/" target="_blank">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.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -3,19 +3,11 @@ 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#" modules on Microsoft's learn platform, submit the URL to your trophy below.
Now that you've completed all of the "Write Your First Code Using C#" challenges, you should have earned a trophy for it on Microsoft's learning platform.
Follow these instructions to find your trophy URL:
1. Go to <a href="https://learn.microsoft.com/en-us/users/me/achievements#badges-section" target="_blank">https://learn.microsoft.com/en-us/users/me/achievements#badges-section</a> using a browser you are logged into Microsoft with
1. Find the trophy for "Write Your First Code Using C#" and click the "share" icon next to it
1. Click the "Copy URL" button
1. Paste the URL into the input below
The URL should look similar to this: `https://learn.microsoft.com/en-us/training/achievements/learn.wwl.get-started-c-sharp-part-1.trophy?username=your-username&sharingId=your-sharing-id`
This trophy is required to qualify to take the certification exam.
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 to take the certification exam.
@@ -9,7 +9,7 @@ dashedName: write-your-first-c-sharp-code
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-write-first/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-write-first/</a> and complete all the tasks for the "Write Your First C# Code" module. This is required to earn the "Write Your First Code Using C#" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-write-first/" target="_blank">https://learn.microsoft.com/training/modules/csharp-write-first/</a> and complete all the tasks for the "Write Your First C# Code" module. This is required to earn the "Write Your First Code Using C#" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -30,10 +30,6 @@ What is the difference between `Console.Write` and `Console.WriteLine`?
`Console.WriteLine` appends a new line after the output.
---
There is no difference.
## --video-solution--
3
@@ -16,7 +16,13 @@ dashedName: step-23
你的 `.cabin` 选择器应该有一个 `animation` 属性值为 `cabins 10s linear infinite`。
```js
assert(new __helpers.CSSHelp(document).getStyle('.cabin')?.animation === '10s linear 0s infinite normal none running cabins');
const cabinElementStyles = new __helpers.CSSHelp(document).getStyle('.cabin');
assert(
cabinElementStyles?.animationName === "cabins" &&
cabinElementStyles?.animationDuration === "10s" &&
cabinElementStyles?.animationTimingFunction === "linear" &&
cabinElementStyles?.animationIterationCount === "infinite"
);
```
# --seed--
@@ -9,7 +9,7 @@ dashedName: add-looping-logic-to-your-code-using-the-do-while-and-while-statemen
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-do-while/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-do-while/</a> and complete all the tasks for the "Add Looping Logic to Your Code Using the do-while and while Statements in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-do-while/" target="_blank">https://learn.microsoft.com/training/modules/csharp-do-while/</a> and complete all the tasks for the "Add Looping Logic to Your Code Using the do-while and while Statements in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: branch-the-flow-of-code-using-the-switch-case-construct-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-switch-case/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-switch-case/</a> and complete all the tasks for the "Branch the Flow of Code Using the switch-case Construct in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-switch-case/" target="_blank">https://learn.microsoft.com/training/modules/csharp-switch-case/</a> and complete all the tasks for the "Branch the Flow of Code Using the switch-case Construct in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: challenge-project-develop-branching-and-looping-structures-in-c-shar
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/challenge-project-develop-branching-looping-structures-c-sharp/" target="_blank">https://learn.microsoft.com/en-us/training/modules/challenge-project-develop-branching-looping-structures-c-sharp/</a> and complete all the tasks for the "Challenge Project - Develop Branching and Looping Structures in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/challenge-project-develop-branching-looping-structures-c-sharp/" target="_blank">https://learn.microsoft.com/training/modules/challenge-project-develop-branching-looping-structures-c-sharp/</a> and complete all the tasks for the "Challenge Project - Develop Branching and Looping Structures in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: control-variable-scope-and-logic-using-code-blocks-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-code-blocks/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-code-blocks/</a> and complete all the tasks for the "Control Variable Scope and Logic Using Code Blocks in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-code-blocks/" target="_blank">https://learn.microsoft.com/training/modules/csharp-code-blocks/</a> and complete all the tasks for the "Control Variable Scope and Logic Using Code Blocks in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: evaluate-boolean-expressions-to-make-decisions-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-evaluate-boolean-expressions/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-evaluate-boolean-expressions/</a> and complete all the tasks for the "Evaluate Boolean Expressions to Make Decisions in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-evaluate-boolean-expressions/" target="_blank">https://learn.microsoft.com/training/modules/csharp-evaluate-boolean-expressions/</a> and complete all the tasks for the "Evaluate Boolean Expressions to Make Decisions in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -20,15 +20,15 @@ Which of the following lines of code is a valid use of the conditional operator?
## --answers--
`int value = amount >= 10? 10: 20;`
`int value = amount >= 10 ? 10 : 20;`
---
`int value = amount >= 10: 10? 20;`
`int value = amount >= 10 : 10 ? 20;`
---
`int value = amount >= 10? 10| 20;`
`int value = amount >= 10 ? 10 | 20;`
## --video-solution--
@@ -9,7 +9,7 @@ dashedName: guided-project-develop-conditional-branching-and-looping-structures-
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/guided-project-develop-conditional-branching-looping/" target="_blank">https://learn.microsoft.com/en-us/training/modules/guided-project-develop-conditional-branching-looping/</a> and complete all the tasks for the "Guided Project - Develop Conditional Branching and Looping Structures in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/guided-project-develop-conditional-branching-looping/" target="_blank">https://learn.microsoft.com/training/modules/guided-project-develop-conditional-branching-looping/</a> and complete all the tasks for the "Guided Project - Develop Conditional Branching and Looping Structures in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -9,7 +9,7 @@ dashedName: iterate-through-a-code-block-using-the-for-statement-in-c-sharp
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-for/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-for/</a> and complete all the tasks for the "Iterate Through a Code Block Using the for Statement in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-for/" target="_blank">https://learn.microsoft.com/training/modules/csharp-for/</a> and complete all the tasks for the "Iterate Through a Code Block Using the for Statement in C#" module. This is required to earn the "Add Logic to C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--
@@ -3,19 +3,11 @@ id: 647f882207d29547b3bee1c0
title: 'Trophy - Add Logic to C# Console Applications'
challengeType: 18
dashedName: trophy-add-logic-to-c-sharp-console-applications
msTrophyId: learn.wwl.get-started-c-sharp-part-3.trophy
---
# --description--
Now that you've completed all of the "Add Logic to C# Console Applications" modules on Microsoft's learn platform, submit the URL to your trophy below.
Now that you've completed all of the "Add Logic to C# Console Applications" challenges, you should have earned a trophy for it on Microsoft's learning platform.
Follow these instructions to find your trophy URL:
1. Go to <a href="https://learn.microsoft.com/en-us/users/me/achievements#badges-section" target="_blank">https://learn.microsoft.com/en-us/users/me/achievements#badges-section</a> using a browser you are logged into Microsoft with
1. Find the trophy for "Add Logic to C# Console Applications" and click the "share" icon next to it
1. Click the "Copy URL" button
1. Paste the URL into the input below
The URL should look similar to this: `https://learn.microsoft.com/en-us/training/achievements/learn.wwl.get-started-c-sharp-part-3.trophy?username=your-username&sharingId=your-sharing-id`
This trophy is required to qualify to take the certification exam.
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 to take the certification exam.
@@ -9,7 +9,7 @@ dashedName: add-decision-logic-to-your-code-using-if-else-and-else-if-statements
This challenge will be partially completed on Microsoft's learn platform. Follow these instructions to complete the challenge:
1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-if-elseif-else/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-if-elseif-else/</a> and complete all the tasks for the "Add Decision Logic to Your Code Using if, else, and else if statements in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-if-elseif-else/" target="_blank">https://learn.microsoft.com/training/modules/csharp-if-elseif-else/</a> and complete all the tasks for the "Add Decision Logic to Your Code Using if, else, and else if statements in C#" module. This is required to earn the "Create and Run Simple C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.
# --question--

Some files were not shown because too many files have changed in this diff Show More