Tag archive for ‘attributes’
TIP: Conditional code execution with the ConditionalAttribute and the #IF … #ENDIF Preprocessor Directive
While developing an application, you need to execute some code only when a defined condition is meet, for example, you have a product and you want to have specific code execution for both a release version and a trial version. You could change the code and compile different code for each version, or you could [...]