Hi, i need implement caching of different bussines objects, but the access key for this objects is other object not a string...
What is in your experience the best approach, i think in this options.
Make the ToString method of key objects be different from different bussiness clases, maybe including the whole class name and his hashcode in the ToString()
Use different cache instances(is this possible?), one for each bussines class and use the ToString method as key...
Thanks for you time!