Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge: Greeting Generator | Fundamentals of Strings
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
C# Strings & Text Processing

bookChallenge: Greeting Generator

Aufgabe

Swipe to start coding

Create a program that generates a personalized greeting using a hardcoded name. The output should be produced in two ways: first, by concatenating the name with a greeting string, and second, by using string interpolation with the name.

  • Return a greeting message that includes the provided name using string concatenation.
  • Return a greeting message that includes the provided name using string interpolation.

Lösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 2
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

Suggested prompts:

Can you explain this in simpler terms?

What are the main benefits or drawbacks?

Can you give me a real-world example?

close

bookChallenge: Greeting Generator

Swipe um das Menü anzuzeigen

Aufgabe

Swipe to start coding

Create a program that generates a personalized greeting using a hardcoded name. The output should be produced in two ways: first, by concatenating the name with a greeting string, and second, by using string interpolation with the name.

  • Return a greeting message that includes the provided name using string concatenation.
  • Return a greeting message that includes the provided name using string interpolation.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 2
single

single

some-alt