Home Sample Files Register Books Support Contact
Essential Skills Expert Skills
.NET 4.0 .NET 4.5

Learn ASP.NET 4.0, C# and Visual Studio 2010 Expert Skills

Lesson 5-3: Use the #if directive with the TRACE constant

How to use the TRACE constant with the #if directive to only compile code if the TRACE constant is present.

Play Video

Keywords: Use the #if directive with the TRACE constant,compiler directives,#if directive,Build options,building,System.Diagnostics namespace

This course is also available as a printed book.
You can learn with either the book or video alone, but using the book and video together offers the best learning experience.