write in debug console c# code example
Example 1: c# debug console log
using System.Diagnostics;
// print a message to the output window of the IDE
Debug.WriteLine("Debug Information");
Example 2: debug c# console
System.Diagnostics.Debug.WriteLine