VB.NET
Dim objItem As DictionaryEntry
For Each objItem In Cache
’Response.Write (objItem.Key.ToString ());
Cache.Remove(objItem.Key.ToString())
Next
C#
foreach(DictionaryEntry objItem in Cache)
{
//Response.Write (objItem.Key.ToString ());
Cache.Remove(objItem.Key.ToString () ) ;
}
Share with