Console.ReadLine()
A method that reads one line of text from standard input.
What does Console.ReadLine() do in C#?
Console.ReadLine() — A method that reads one line of text from standard input.
class Registration
{
string? ReadName()
{
return Console.ReadLine();
}
}
Level: Apprentice · More C# terms at this level
Updated