Summary

This chapter covered the Pre-Processing directives. You learned just enough to get started and begin thinking about how to use them. The purpose of these directives is for conditional compilation and communication during the compilation process.

The pre-processing directives discussed include the #define, #undef, #if, #elif, #else, #endif, #error, #warning, and #line. There was also mention of using pre-processing directives with comments.

Programmers should approach debugging in a process-driven, methodical manner. That, with a touch of creativity and a bit of psychological analysis, will aid in finding the toughest bugs.

A decent tool, such as the .Net Frameworks SDK Debugger, can be useful in finding bugs. Two debugging examples demonstrated ...

Get C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.