Skip to content

Choosing the collection by the operation

Code repeatedly checks whether a value is present in a collection of about 100,000 items. It currently uses a list.

What is the right change, and why?