Practice Questions

Question 1Which of the following should be used if you want to store culture-specific error messages for an application?
  • A. Embedded resource file

  • B. External resource file

  • C. Satellite assembly

  • D. Assembly resource file

A1: Answer D is correct. An assembly resource file is often the best solution when you need to store localized data that is not directly displayed within the user interface. Answer A is incorrect because an embedded resource is integrated into the application and is difficult to update without redeploying a new version of the application. Answer B is incorrect because an external resource file is typically used to allow integration of resources provided by third-party vendors, rather than the XML-based assembly ...

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.