【发布时间】:2011-04-06 08:38:41
【问题描述】:
作出以下声明是否合法:
if(Cache[CACHE_KEY] == null)
{
//do something to form cache
}
else
{
//do something else that uses cache
}
我不确定我的程序实际上是否正常运行(即使它可以编译),并且想知道缓存是否不存在是否设置为 null?
【问题讨论】:
标签: c# .net asp.net asp.net-cache