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.
class Program
{
static void Main()
{
Console.WriteLine("Hello, C#!"); // Hello, C#!
}
}
Level: Novice · More C# terms at this level
Updated