Re: comparing objects
- From: "netnet" <newsabcabc@xxxxxxxxxxx>
- Date: Sat, 21 Oct 2006 00:20:52 -0400
No? Could you go into more detail? Im actually using the
myCol.Contains(foo) method.
Thanks for your help.
"Arne Vajhøj" <arne@xxxxxxxxxx> wrote in message
news:uQg_g.22666$2g4.22379@xxxxxxxxxxxxx
netnet wrote:
I have a collection of objects that I store in the session. Then I look
in that collection to see if the collection.contains an object. it
answers false. If I dont store that collection in the session it answers
true. Is the session somehow modifying the collection? The objects
look identical.
Does your class have a proper Equals method ?
Arne
.
- Follow-Ups:
- Re: comparing objects
- From: Arne Vajhøj
- Re: comparing objects
- From: Cor Ligthert [MVP]
- Re: comparing objects
- References:
- comparing objects
- From: netnet
- Re: comparing objects
- From: Arne Vajhøj
- comparing objects
- Prev by Date: Re: form disposal
- Next by Date: Re: comparing objects
- Previous by thread: Re: comparing objects
- Next by thread: Re: comparing objects
- Index(es):