Debug.WriteLine is a handy way to dump some useful information into trace listeners. When debugging your program in Visual Studio, you can view these messages in the Output window. However, there is lot more information shown in here that can easily clutter the contents of Output Window.
This happens because all the different types of messages that are been shown in this windows by default. Figure below shows all those different types of messages that are checked by default.
Let turn off some of these here.
Next time you debug the program, the Output window will be little less messy 🙂
Until next, happy debugging