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

Chapter 21. PREPROCESSING, XML DOCUMENTATION, AND ATTRIBUTES

You will learn about the following in this chapter:

  • C#'s preprocessor directives

  • How to mark different parts of your code with preprocessor directives

  • How to easily exclude code from being compiled with preprocessor directives

  • A brief introduction to automated program documentation

  • What a documentation comment is

  • How to let the compiler turn documentation comments into well-formed XML program documents

  • What an attribute is

  • How to add additional declarative information to C#'s elements by using attributes

Even though the three subjects discussed in this chapter (preprocessor directives, XML documentation, and attributes) are not directly related, they are similar in that they are all separate ...

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