Avatar of AlHal2
Flag for United Kingdom of Great Britain and Northern Ireland

asked on 

Record date and time that an item was added to a C# dictionary

I'm using C# in Visual Studio 2017 and have a generic dictionary <string, Widget>
Without changing the widget class is it possible for the dictionary to store when each key value pair was added?
If it was added more than a minute ago then delete it or at least ignore it.

Avatar of undefined
Last Comment

8/22/2022 - Mon