In a current project I had a need for a lightweight caching mechanism. My needs were driven by a desire to minimize file access. The file in question would likely not be too long; however, I couldn't guarantee that. Therefore, a caching framework such as provided by the Enterprise Library was just too much. This post talks about what I put together. The following are the only imports necessary. using System; using System.Collections.Generic; My requirements are simple enough. I want to be able to ......