C#WinForm 缓存
代码
System.Web.Caching.Cache c = System.Web.HttpRuntime.Cache;
if (c != null)
...{
c.Insert("1", "123141432432");
object o = c.Get("1");
Console.WriteLine(o);
}
posted on 2010-07-27 17:19 viva9@xian 阅读(7468) 评论(3) 收藏 举报
Happy Coding!
代码
System.Web.Caching.Cache c = System.Web.HttpRuntime.Cache;
if (c != null)
...{
c.Insert("1", "123141432432");
object o = c.Get("1");
Console.WriteLine(o);
}
posted on 2010-07-27 17:19 viva9@xian 阅读(7468) 评论(3) 收藏 举报