How should I use debug.print in C#
c#
Solution
SolutionsCS - that will write to the Console, not the Debug Console. If you then run the code in a non-debug environment it will still print out, which isn't really what you want for debugging messages.
Debug messages appear in the Output window if you select "Show Output From Debug".
If you want to see your debug messages without all the other cruft go to `Tools->Options->Debugging->General` and check `Redirect all Output Window text to the Intermediate Window` and, if the Intermediate Window is closed, follow xPert_Umer's instructions.
Problem
In VB, we can use debug.print to print the text in a console, but how do we do the similar thing in C#? The objective is to test the written class.