What Does Conditional Attribute Mean?

A conditional attribute is a tag used to mark a method or class whose execution depends on the definition of preprocessing identifier.A conditional attribute indicates a condition to specify conditional compilation wherein methods are selectively called on the basis of definition of symbols. It instructs the compiler to compile (into Microsoft Intermediate Language) or not compile specific blocks of code, based on a condition - whether or not a specific conditional compilation symbol is defined. If specific symbols have not been defined at the instant they are called, then calls to that method or class will be ignored by the compiler.

Techopedia Explains Conditional Attribute

A conditional attribute has the following characteristics: