Küsi kautajalt nime

This commit is contained in:
Arti Zirk 2016-08-29 14:29:48 +03:00
parent bf438ec1fc
commit 2b544d3030
1 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,9 @@ namespace KonsooliDemo
static void Main(string[] args)
{
Console.WriteLine("Tere Maailm!");
Console.Write("Mis on sinu nimi? ");
var consoleKeyInfo = Console.ReadLine();
Console.WriteLine("Tere {0}", consoleKeyInfo);
Console.ReadKey();
}
}