Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Greeting Generator | Fundamentals of Strings
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
C# Strings & Text Processing

bookChallenge: Greeting Generator

Завдання

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.

Рішення

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 2
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

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 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.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 2
single

single

some-alt