Programming in C# — Question 14

You are developing an application by using C#.
You have the following requirements:
✑ Support 32-bit and 64-bit system configurations.
✑ Include pre-processor directives that are specific to the system configuration.
✑ Deploy an application version that includes both system configurations to testers.
✑ Ensure that stack traces include accurate line numbers.
You need to configure the project to avoid changing individual configuration settings every time you deploy the application to testers.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

Answer options

Correct answer: B, D

Explanation

The correct options are B and D because creating two application configurations based on the default Release and Debug configurations allows for distinct settings tailored for 32-bit and 64-bit systems without requiring constant adjustments. Options A and C do not directly address the need for multiple configurations, making them less suitable for the scenario presented.