Example: greeting by name

Let us write a program that asks the user for his name and salutes him with the text "Hello, name".

var name = Console.ReadLine();
Console.WriteLine("Hello, {0}!", name);

In this case {0} is replaced with the first given argument, which holds the variable name:

Testing in the Judge System

Tets your solution here: https://judge.softuni.bg/Contests/Practice/Index/504#2.

results matching ""

    No results matching ""