Caching in C#/.Net

前端 未结 12 1281
离开以前
离开以前 2020-11-30 02:22

I wanted to ask you what is the best approach to implement a cache in C#? Is there a possibility by using given .NET classes or something like that? Perhaps something like a

12条回答
  •  醉酒成梦
    2020-11-30 03:13

    You can use the ObjectCache.

    See http://msdn.microsoft.com/en-us/library/system.runtime.caching.objectcache.aspx

提交回复
热议问题