console.write() 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");