Advanced Dictionary for DotNet
Dictionary is a very common data structure being used in an application for basic use to hold key-value pair to in-memory cache store. Dot-Advanced-Dictionary is a .Net open source library which adds a bit of crunch on top of regular dictionary. It provides the option to limit the size of the dictionary to reduce the memory consumption with auto removal of least used item(s). While creating the instance of the dictionary, you need to specify the maximum size (in terms of data) and the library will manage to keep the dictionary within that size. It also includes auto-retrieval of value option if key not found in dictionary. A small, lightweight and very useful library. There is also .Net Core flavor available at Dot-Advanced-Dictionary for .Net Core . Go ahead and start using it.