how to Console.WriteLine code example Example 1: console.writeline Console.WriteLine() Example 2: console.writeline console.WriteLine