I\'m trying to write a simple Resource Manager for the little hobby game I\'m writing. One of the tasks that this resource manager needs to do is unloading unused resources.
We already have a resource manager in .NET, called the Garbage collector. So a very efficient approach is to set the references to null and do nothing.
A more direct answer: No, there is no way to get the references to an object.
You may want to study the WeakReference class or use a Caching system.