# 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.

```csharp
class Registration
{
    string? ReadName()
    {
        return Console.ReadLine();
    }
}
```

Level: Apprentice · [More C# terms at this level](https://www.ask-codey.com/glossary/subjects/c-sharp/apprentice)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/console-readline
