Explain how to retrieve resources using ResourceManager class?

 Posted by Tripati_tutu on 10/8/2010 | Category: .NET Framework Interview questions | Views: 3831 | Points: 40

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.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response