Hi, I'm trying to display a message in the compiler output using VS2010.
In C/C++ we can use: #pragma message(">> Win32 <<")
, but for C# I'm not really sure what options are available.
pseudorandom21
166
Practically a Posting Shark
Recommended Answers
Jump to PostThe preprocessor directives are listed here:
http://msdn.microsoft.com/en-us/library/ed8yd1ha.aspxThe #pragma directive only supports warning suppression and ASP.NET file checksums. You can use the Debug class in System.Diagnostics to write to the Output window:
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.