Dot Net Assembly Question:
Download Questions PDF

Explain how to retrieve resources using ResourceManager class?

Answer:

ResourceManager class is used to retrieve resources at run time.
Create a ResourceManager with resource file name and the resource assembly as parameters.
After having created, you can use ResourceManager.GetString method to retrieve a string.
Use the ResourceManager.GetObject method to retrieve images and objects from a resource file.

Download Dot Net Assembly Interview Questions And Answers PDF

Previous QuestionNext Question
How do you create a resource-only assembly?Define Strong Name. How do you apply a strong name to assembly?