Question 36
You are developing an application by using G#. You provide a public key to the development team during development.
You need to specify that the assembly is not fully signed when it is built.
Which two assembly attributes should you include in the source code? (Each correct answer presents part of the solution. Choose two.)
Question 37
You have the following code (line numbers are included for reference only):
You need to ensure that if an exception occurs, the exception will be logged.
Which code should you insert at line 28?
Question 38
You have an assembly named Assembly named Assembly1 that is written in C#.
Your company plans to sell Assembly =1 to customers. The customers might debug Assembly1.
You need to minimize the amount of information contained within the debug symbols that are shipped with Assembly1.
How should you create the debug symbols for Assembly1?
Question 39
You have the following line of code.
You need to create an object named obj that has a type of type1.
Which line of code should you use?
A:
B:
C:
D:
Question 40
You are developing an application that uses multiple asynchronous tasks to optimize performance.
You need to retrieve the result of an asynchronous task.
Which code segment should you use?
