how to write in console c# code example Example: c# write to console Console.Write("Hello"); Console.WriteLine("World");