Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Console Output | Getting Started
C# Basics

bookChallenge: Console Output

Note
Note

At this stage, some tasks will include an additional TestMain method. Please ignore it and write your solution only in the Main method.

Task

Swipe to start coding

Your task is to print a simple greeting message to the console.

  1. Use Console.WriteLine to print your greeting message;
  2. The message must be surrounded by quotation marks;
  3. You can print any friendly greeting, such as Hello, World! and Welcome to C# programming!;

Example outputs:

  • Hello, World!
  • Welcome to C# programming!

Solution

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 4
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Suggested prompts:

Can you explain this in simpler terms?

What are the main takeaways from this?

Can you give me a real-world example?

close

bookChallenge: Console Output

Swipe to show menu

Note
Note

At this stage, some tasks will include an additional TestMain method. Please ignore it and write your solution only in the Main method.

Task

Swipe to start coding

Your task is to print a simple greeting message to the console.

  1. Use Console.WriteLine to print your greeting message;
  2. The message must be surrounded by quotation marks;
  3. You can print any friendly greeting, such as Hello, World! and Welcome to C# programming!;

Example outputs:

  • Hello, World!
  • Welcome to C# programming!

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 4
single

single

some-alt