Writing to output window of Visual Studio

前端 未结 13 1735
忘了有多久
忘了有多久 2020-11-28 17:56

I am trying to write a message to the output window for debugging purposes. I searched for a function like Java\'s system.out.println(\"\"). I tried Debug

13条回答
  •  北海茫月
    2020-11-28 18:25

    This will write to the debug output window:

    using System.Diagnostics;
    
    Debug.WriteLine("Send to debug output.");
    

提交回复
热议问题