O'Reilly logo

C# Primer Plus by Klaus Michelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

This chapter discussed three vaguely related subjects—processor directives, XML documentation, and attributes. Whereas most of the important aspects of processor directives were presented, the XML documentation and attributes discussions were only introductory. A review of the most important points mentioned in this chapter follows.

Preprocessor directives can be used to mark parts of the source code for the compiler to treat these parts in a special way. Preprocessor directives are commonly used to exclude source code from being compiled; this is especially handy for testing purposes. In general, they allow you to produce different versions of a program from the same source code just by defining or undefining one or more identifiers. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required