using System.Collections.Concurrent;
private static ConcurrentDictionary<string, dynamic> cache =
new ConcurrentDictionary<string, dynamic>();
public void SetCache(string key, dynamic value)
cache.AddOrUpdate(key, value, (k, v) => value);
public static void Main()
Console.WriteLine("Hello World");