how to write to a console window C# code example
Example 1: c# print to console
Console.WriteLine("This is C#");
Example 2: c# write to console
Console.Write("Hello");
Console.WriteLine("World");
Console.WriteLine("This is C#");
Console.Write("Hello");
Console.WriteLine("World");