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 ()+ '
' ) ;
}
Share with