public static void Main(string[] args) { Cache.AddCacheObj <Dog>(new Dog()); Cache.AddCacheObj <Cat>(new Cat()); var cat = Cache.GetCachedObj <Dog>(); Console.WriteLine("Cat: {0}", cat); var dog = Cache.GetCachedObj <Cat>(); Console.WriteLine("Dog: {0}", dog); }