Answers to Exam Questions

A1: C. You should use Process.CloseMainWindow() to shut down any application that has a user interface. This method gives the application a chance to clean up resources. Process.Kill() also shuts down the application, but it does not let normal cleanup processing proceed.
A2: C. Dynamic properties provide a built-in mechanism to set properties at runtime without requiring you to write any code.
A3: D. You need to sign the code with sn.exe to give it a strong name so that it can be stored in the GAC, and you need to sign it with signcode.exe to give it an Authenticode signature. The two tools should always be used in that order.
A4: D. A conditional breakpoint lets you pause code only when a particular condition is true. ...

Get MCAD/MCSD.NET Training Guide (Exam 70-316): Developing and Implementing Windows®-Based Applications with Microsoft® Visual C#™ .NET and Microsoft® Visual Studio® .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.