C# console text code example Example: c# print console System.Diagnostics.Debug.WriteLine("This is text");