我正在尝试在 HttpRumtimeCache 中插入一个值。
System.Web.HttpRuntime.Cache.Insert("key", "value", null, DateTime.Now.AddSeconds(3200), TimeSpan.Zero);
但我得到这个错误:
'Dictionary<string, string>' does not contain a definition for 'Insert' and no accessible extension method 'Insert' accepting a first argument of type 'Dictionary<string, string>' could be found (are you missing a using directive or an assembly reference?)
你能就此提出建议吗?