print string c# code example Example 1: how to print in c# Console.WriteLine("Hello World"); Example 2: c# print Console.Write("C# Programming");