+ 3

I am not clear with this code, any one who can help me with this? Why is it not work.

static void Main(string[] args) { string yourName; Console.WriteLine("What is your name?"); yourName = Console.ReadLine(); Console.WriteLine("Hello {0}", yourName); }

3rd Oct 2017, 12:15 AM
YAKUBU IBRAHIM
YAKUBU IBRAHIM - avatar
9 Answers
+ 3
I can not help you if I do not know what language is it in!
3rd Oct 2017, 12:35 AM
Alex
+ 3
It worked for me. The SoloLearn console requires all of your input specified prior to running your code as the code runs on the server.
3rd Oct 2017, 1:02 AM
John Wells
John Wells - avatar
+ 2
What language is it in?
3rd Oct 2017, 12:16 AM
Alex
+ 2
please help me answer this one
3rd Oct 2017, 12:17 AM
YAKUBU IBRAHIM
YAKUBU IBRAHIM - avatar
+ 2
c# programming language
3rd Oct 2017, 12:46 AM
YAKUBU IBRAHIM
YAKUBU IBRAHIM - avatar
+ 2
sorry, i can't help you, i dont know c#
3rd Oct 2017, 12:47 AM
Alex
+ 2
OK thanks
3rd Oct 2017, 12:49 AM
YAKUBU IBRAHIM
YAKUBU IBRAHIM - avatar
+ 2
OK on the server, thanks to you Mr. john.
3rd Oct 2017, 1:07 AM
YAKUBU IBRAHIM
YAKUBU IBRAHIM - avatar
+ 2
Alex was write @jacob
3rd Oct 2017, 1:08 AM
Nura Programmer
Nura Programmer - avatar