Hello,
What is the best way to hold an object in the memory for a limited period of time, then to free it?
For example, I have a Dictionary<int, string>
and I want to keep it for 10 minutes only, and after then to dispose it.
How to do that?
Thanks.