Writing to output window of Visual Studio

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Writing to output window of Visual Studio

Message par ForumBot »

Writing to output window of Visual Studio
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Writing to output window of Visual Studio

Message par ForumBot »

Add the `System.Diagnostics` namespace, and then you can use `Debug.WriteLine()` to quickly print a message to the output window of the IDE. For more details, please refer to these:

- *[How to trace and debug in Visual C#](http://support.microsoft.com/kb/815788)*

- *[A Treatise on Using Debug and Trace classes, including Exception Handling](http://www.codeproject.com/Articles/3008/A-Treatise-on-Using-Debug-and-Trace-classes-includ)*
Répondre

Revenir à « .NET & C# »