On Jun 18, 12:44*pm, "Tony" <johansson.anders...@telia.com> wrote:
> Hello!
>
> But how is that done if a class is used as a key?
>
> //Tony
>
> "Kerem Gümrükcü" <kareem...@hotmail.com> skrev i meddelandetnews:(E-Mail Removed)...
>
>
>
> > Hi Toni,
>
> > >When you are using a Dictionary object what type is to possible to have
> on
> > >the key?
>
> > AFIK any!
>
> > Regards
>
> > Kerem
>
> > --
> > -----------------------
> > Beste Grüsse / Best regards / Votre bien devoue
> > Kerem Gümrükcü
> > Microsoft Live Space:http://kerem-g.spaces.live.com/
> > Latest Open-Source Projects:http://entwicklung.junetz.de
> > -----------------------
> > "This reply is provided as is, without warranty express or implied."
> > "Tony" <johansson.anders...@telia.com> schrieb im Newsbeitrag
> >news:(E-Mail Removed)...
> > > Hello!
>
> > > When you are using a Dictionary object what type is to possible to have
> on
> > > the key?
>
> > > //Tony- Hide quoted text -
>
> - Show quoted text -
Dictionary allows object as key, I think while retrieving the value
from dictionary, it uses HashCode of the object.
Anything fishey or you are expecting a BUG in baseclass library?
-Cnu.