C# Write console example
“Console.Write” and “Console.WriteLine” methods in C# puts text on the console window.
This code writes a text on the console window:
namespace CSharpExamples { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }