Problem: I need to implement object cache. The cache need to be thread-safe and need to populate values on demand(lazy loading). The values are retrieved vi
If you call GetOrAdd simultaneously on different threads,
valueFactory may be invoked multiple times, but its key/value pair might not be added to
the dictionary for every call.