I am trying to write code that adds items to a collection. The problem I face is that I need to determine if an item already exists, I don't want to add it again.

Because of the number of items in the collection, I do not want to loop through them all checking each one.

Is there a way to directly find out if it exists?

Paolo.