Tag Archives: warning

Conditional Compilation with Precompiler Directives in C#

By | October 8, 2013

Coming from C or C++, C# has always the flexibility to handle directives. The directives are well known in those languages, but most of the developers don’t know that these things still exists in C#. There are few pre-processor directives available on C# which help you to define a constant which is replaced during compile time, or even… Read More »

Compiler directive #Pragma reference

By | June 5, 2011

Compiler directives is always a fun for any language. There are lots of talks around different blogs on compiler directives but there are hardly any talks around my favorite #pragma directives. So lets talk what it is and what it is capable of. In general, Pragma directives are special instruction to the compiler when it compiles a file.… Read More »