System.Diagnostics.ConditionalAttribute Class
Information   Base Types   Related Resources

Indicates to compilers that a method is callable if a specified preprocessing identifier is applied to the method.

  • Namespace: System.Diagnostics
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.0.3705
  • Assembly: mscorlib.dll

  • System.Attribute
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (4)Discussions (13)MembersRotorChanges
    Articles

    Page: 1
    .NET Matters
    MSDN
    XML Comments, Late-bound COM, and More
    Debugging and C#
    C# Help
    Debugging GUI applications for me mostly consists of printing out debug statements in the form of a dialog box with some text. While this technique was helpful for small to medium size apps I find writing large apps with a dialog box popping up after every other statement is counterproductive. With this in mind, I set out to find a better method for displaying debug statements during runtime. Enter C#.
    Debugging Techniques in C#
    C# Corner
    Debugging GUI applications for me mostly consists of printing out debug statements in the form of a dialog box with some text. While this technique was helpful for small to medium size apps I find writing large apps with a dialog box popping up after every other statement is counterproductive. With this in mind, I set out to find a better method for displaying debug statements during runtime.
    Using Tracing with Less Code USing Conditional Compilation and Worker Functions
    DotNetJunkies
    I was going to make an article about this, but after deep reflection into the subject matter I decided to just write a how to instead. In this article I'll show you a tip to minimize the code you write when using tracing. If implemented, when you compile you release code you will have absolutly no tracing information what-so-ever included. This is achomplished by using <B>Coditional Compilation</B>. Additionally, I'll demonstrate how by making two <b>Worker Functions</b> you can write less code when writi
    Ad
    MBR BootFX
    Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
     
     Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
    Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com