visual studio log to output window code example
Example: visual studio c# print to console
using System.Diagnostics
Debug.WriteLine("Send to debug output window");
using System.Diagnostics
Debug.WriteLine("Send to debug output window");