How to display items stored in a local application Cache

Platform: ASP.NET|Category: Output Caching

VB.NET

Dim objItem As DictionaryEntry
For Each objItem In  Cache
   	Response.Write(('Key :' + objItem.Key.ToString() + '
'))
   	Response.Write((' Value :' + objItem.Value.ToString() + '
'))
Next

C#

foreach(DictionaryEntry objItem in Cache) 
{ 
	Response.Write ('Key :' + objItem.Key.ToString () + '
');
	Response.Write(' Value :' + objItem.Value.ToString ()+ '
' ) ;
}