C# - Inserting and Removing from Cache
- by Nir
1 - If I insert to Cache by assigning the value:
Cache["key"] = value;
what's the expiration time?
2 - Removing the same value from Cache:
I want to check if the value is in Cache by if(Cache["key"]!=null), is it better to remove it from Cache by Cache.Remove("key") or Cache["key"]=null ?