c# print variable to console code example Example: c# print to console Console.WriteLine("This is C#");