P
Peter
Hi, in the System.Web.Caching.Cache class, the Add method takes a
string as key.
The GetEnumerator method returns an IDictionaryEnumerator. On the
returned enumerator there is a Key property. But this property is of
type "object", not "string".
Is that correctly understood?
If so, is it not odd that I can only provide a "string" as a key, yet
when I get the keys back they are "objects"?
Thanks,
Peter
string as key.
The GetEnumerator method returns an IDictionaryEnumerator. On the
returned enumerator there is a Key property. But this property is of
type "object", not "string".
Is that correctly understood?
If so, is it not odd that I can only provide a "string" as a key, yet
when I get the keys back they are "objects"?
Thanks,
Peter