Microsoft Exam Questions

You need to use different databases during the development phase and the testing phase by using cond

You are creating an application that reads from a database.
You need to use different databases during the development phase and the testing phase by using
conditional compilation techniques.
What should you do?

A.
Configure the Define TRACE constant setting in Microsoft Visual Studio.

B.
Decorate the code by using the [DebuggerDisplay(“Mydebug”)] attribute.

C.
Configure the Define DEBUG constant setting in Microsoft Visual Studio.

D.
Disable the strong-name bypass feature of Microsoft .NET Framework in the registry.

Explanation:
Use one debug version to connect to the development database, and a standard version to connect
to the live database.