Input not working

I’m part way through the C# course.
Previously, I found no issue when using Console.ReadLine.
However now, whenever I use it, it will not do anything in the console.
No errors are shown.
I hope somebody can help me with this.
I tried refreshing, clearing my cache and closing the browser entirely. No luck.

An example of code:
Console.WriteLine("What is your name? ");
string name = Console.ReadLine();

Hello, @speciallittlesnowfla, and welcome to the forums!

Could you post a link to the exercise, please?

Some of the exercise consoles aren’t responsive-if that’s the word-which means that they don’t accept input. In which case, you’d have to hard code that variable with a name in order to complete the rest of the exercise.

1 Like