Practice Questions

Question 1After compiling your application into an executable named MyApp.exe, what will be the name of the file that contains the values assigned to dynamic properties in your application?
  • A. app.config

  • B. MyApp.config

  • C. machine.config

  • D. MyApp.exe.config

  • E. MyApp.exe

A1: Answer D is correct. The configuration file for an executable application derives its name from <application name>.exe.config. Answer A is incorrect because app.config is used only by an application within the IDE. Answer B is incorrect because it lacks the executable designation (exe) linking it to the primary MyApp.exe executable. Answer C is incorrect because the machine.config file details machine configuration details rather than application-level settings. ...

Get Developing and Implementing Windows®-Based Applications with Visual C#™ .NET and Visual Studio® .NET Exam Cram™ 2 (Exam 70-316) 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.