Files
freeCodeCamp/curriculum/challenges/arabic/19-foundational-c-sharp-with-microsoft/write-your-first-code-using-c-sharp/write-your-first-c-sharp-code.md
2023-11-01 16:37:07 +01:00

1.3 KiB

id, title, challengeType, dashedName
id title challengeType dashedName
647e239e8acb466c97ccbf05 Write Your First C# Code 19 write-your-first-c-sharp-code

--description--

This challenge will be partially completed on the Microsoft Learn platform. Follow these instructions to complete the challenge:

  1. Go to https://learn.microsoft.com/training/modules/csharp-write-first/ and complete all the tasks in the "Write Your First C# Code" module. This is required to earn the "Write Your First Code Using C#" trophy on Microsoft Learn, and qualify for the certification exam.
  2. When you are finished, come back and correctly answer the question below.

--assignment--

Complete the Write Your First C# Code module on Microsoft Learn. Then, answer the question below.

--question--

--text--

What is the difference between Console.Write and Console.WriteLine?

--answers--

Console.Write prints the output on a new line.


Console.WriteLine prints the output on a new line.


Console.WriteLine appends a new line after the output.

--video-solution--

3