# Console.WriteLine()

A method that prints a value followed by a new line.

## What does **Console.WriteLine()** do in C#?

**Console.WriteLine()** — A method that prints a value followed by a new line.

```csharp
class Program
{
    static void Main()
    {
        Console.WriteLine("Hello, C#!"); // Hello, C#!
    }
}
```

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

Updated: September 27, 2026

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