Dot Net Assembly Question:
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.
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.
Previous Question | Next Question |
How do you create a resource-only assembly? | Define Strong Name. How do you apply a strong name to assembly? |