c# display value in writeline code example Example 1: console.writeline console.Writeline Example 2: console.writeline console.WriteLine