Console.WriteLine prints its argument and moves to a new line. Console.Write prints without the line break.
Program.cs
using System;
class Program
{
static void Main()
{
Console.Write("one ");
Console.Write("two ");
Console.WriteLine("three");
Console.WriteLine("next line");
}
}
Output
one two three next line
Both are methods on the Console class. The dot means «the WriteLine that belongs to Console» — you will see that pattern everywhere in C#.