Home > DeveloperSection > Interviews > Explain how to retrieve resources using ResourceManager class.

Posted on    May-03-2011 12:57 AM

 C# C# 
 1 Answer(s)
  884  View(s)
Rate this:

Awadhendra Tiwari

Total Post:510

Posted on    May-03-2011 12:00 AM

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.

Don't want to miss updates? Please click the below button!

Follow MindStick