c# print in console code example
Example 1: c# print to console
Console.WriteLine("This is C#");
Example 2: print to console c#
Console.WriteLine("Hello, world!"); // Prints: Hello, world!
Console.WriteLine("This is C#");
Console.WriteLine("Hello, world!"); // Prints: Hello, world!