Thread-Safe, Strongly-Typed Memory Caching in C#

Quick and simple. This extension adds a strongly-typed version of AddOrGetExisting that utilizes Lazy<T> to ensure thread-safety. public static class ObjectCacheExtensions { public static T AddOrGetExisting<T& »