c sharp print to console 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");
Example 3: print to console c#
Console.WriteLine("Hello, world!"); // Prints: Hello, world!