Dot Net Assembly Question: Download Dot Net Assembly PDF

Explain how to retrieve resources using ResourceManager class?

Tweet Share WhatsApp

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 PDF Read All 10 Dot Net Assembly Questions
Previous QuestionNext Question
How do you create a resource-only assembly?Define Strong Name. How do you apply a strong name to assembly?