---
title: "How to retrieve resources using ResourceManager class?"  
description: "How to retrieve resources using ResourceManager class?"  
author: "Varun Agrawal"  
published: 2011-03-18  
updated: 2020-09-21  
canonical: https://www.mindstick.com/interview/485/how-to-retrieve-resources-using-resourcemanager-class  
category: "assembly"  
tags: ["assembly"]  
reading_time: 1 minute  

---

# How to retrieve resources using ResourceManager class?

Some points on ResourceManager\

1. ResourceManager class is used to retrieve resources at run time.
2. Create a ResourceManager with resource file name and the resource assembly as parameters.
3. After having created, you can use ResourceManager.GetString method to retrieve a string.
4. Use the ResourceManager.GetObject method to retrieve images and objects from a resource file.

## Answers

### Answer by Varun Agrawal

Some points on ResourceManager\

1. ResourceManager class is used to retrieve resources at run time.
2. Create a ResourceManager with resource file name and the resource assembly as parameters.
3. After having created, you can use ResourceManager.GetString method to retrieve a string.
4. Use the ResourceManager.GetObject method to retrieve images and objects from a resource file.


---

Original Source: https://www.mindstick.com/interview/485/how-to-retrieve-resources-using-resourcemanager-class

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
