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.
Specify the /define compiler option.
C.
Run the Assembly Linker tool from the Windows Software Development Kit (Windows SDK).
D.
Decorate the code by using the [assembly:AssemblyDelaySignAttribute(true)] attribute.
Explanation:
You can specify the compiler settings for your application in several ways:
* The property pages
* The command line
* #CONST (for Visual Basic) and #define (for C#)
Note: You can have either the Trace or Debug conditional attribute turned on for a build, or both, or
neither. Thus, there are four types of build: Debug, Trace, both, or neither. Some release builds for
production deployment might contain neither; most debugging builds contain both.
How to: Compile Conditionally with Trace and Debug
https://msdn.microsoft.com/en-us/library/64yxa344(v=vs.110).aspx
Answer: C
Explanation: Use one debug version to connect to the development database, and a standard version to connect to the live database.
0
1
Typo Answer: A
Explanation: Use one debug version to connect to the development database, and a standard version to connect to the live database.
0
1
B
0
0
https://msdn.microsoft.com/en-us/library/0feaad6z.aspx
0
0
no typo answer is C.
The /define option has the same effect as using a #define preprocessor directive except that the compiler option is in effect for all files in the project. A symbol remains defined in a source file until an #undef directive in the source file removes the definition. When you use the /define option, an #undef directive in one file has no effect on other source code files in the project.
0
1
/define is in awnser B not C
0
0