Files
freeCodeCamp/curriculum/challenges/german/19-foundational-c-sharp-with-microsoft/work-with-variable-data-in-c-sharp-console-applications/format-alphanumeric-data-for-presentation-in-c-sharp.md
2023-11-01 16:37:07 +01:00

1.3 KiB

id, title, challengeType, dashedName
id title challengeType dashedName
647e232c8acb466c97ccbefc Format Alphanumeric Data for Presentation in C# 19 format-alphanumeric-data-for-presentation-in-c-sharp

--description--

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

  1. Go to https://learn.microsoft.com/training/modules/csharp-format-strings/ 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 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 Format Alphanumeric Data for Presentation in C# module on Microsoft Learn. Then, answer the question below.

--question--

--text--

For the C# code Console.WriteLine("C110".PadLeft(6, '0'));, which is the expected output?

--answers--

C11000


C110000000


00C110

--video-solution--

3