You need to write a console application that meets the following requirements:
If the application is compiled in Debug mode, the console output must display Entering debug mode.
If the application is compiled in Release mode, the console output must display Entering release mode.
Which code should you use?
A. Option A
B. Option B
C. Option C
D. Option D
#if DEBUG
Console.WriteLine(“Entering Debug Mode”);
#else
Console.WriteLine(“Enterin Release Mode”);
#endif
D is incorrect because RELEASE is not defined by default, but it is the less incorrect answer
elseif, not else.
All incorrect