Küsi kautajalt nime
This commit is contained in:
parent
bf438ec1fc
commit
2b544d3030
@ -11,6 +11,9 @@ namespace KonsooliDemo
|
|||||||
static void Main(string[] args)
|
static void Main(string[] args)
|
||||||
{
|
{
|
||||||
Console.WriteLine("Tere Maailm!");
|
Console.WriteLine("Tere Maailm!");
|
||||||
|
Console.Write("Mis on sinu nimi? ");
|
||||||
|
var consoleKeyInfo = Console.ReadLine();
|
||||||
|
Console.WriteLine("Tere {0}", consoleKeyInfo);
|
||||||
Console.ReadKey();
|
Console.ReadKey();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user