T
thechaosengine
Hi all,
Can anyone tell me how ArrayList.Contains works.
The docs say that it tells you if an *object* is contained in the list. Now,
by object do the docs mean the exact instance that you pass in, or some other
way of working?
I have a situation whereby i have a custom collection extended from an ArrayList,
and I would like to be able to find out if a collection contains an instance
of a user that has a particular userID.
Can anyone advise on what i should use to do that?
Thanks all
tce
Can anyone tell me how ArrayList.Contains works.
The docs say that it tells you if an *object* is contained in the list. Now,
by object do the docs mean the exact instance that you pass in, or some other
way of working?
I have a situation whereby i have a custom collection extended from an ArrayList,
and I would like to be able to find out if a collection contains an instance
of a user that has a particular userID.
Can anyone advise on what i should use to do that?
Thanks all
tce