Multiple choice

Which of the following directive is used in C# to define a symbol, which can be used with the #if directive to evaluate any expression?

  1. #undef

  2. #warning

  3. #define

  4. #elif

  5. #else

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This directive is used in C# to define a symbol,  which can be used with the #if directive to evaluate any expression.