try { IDictionaryEnumerator DicCache = HttpRuntime.Cache.GetEnumerator(); int count = HttpRuntime.Cache.Count; for (int i = 0; i < count; i++) { DicCache.MoveNext(); HttpRuntime.Cache.Remove(DicCache.Entry.Key.ToString()); } } catch (Exception) { throw; }
炎炎设计