RE: SortedList question-- easy way to look for dupes? by NoSpamMgbworld
NoSpamMgbworld
Tue Mar 22 14:59:06 CST 2005
You won't find dupes in keys, only in values. To find dupes there, I would
consider running the values into a Hashtable and deleting, by key, any duped
values. You will have to make sure your sort is correct for this.
---
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
***************************
Think Outside the Box!
***************************
"Jim Bancroft" wrote:
> Hi everyone,
>
> I've been reading through the MSDN documentation on SortedLists and
> didn't find anything that leapt out at me about this, so I thought I'd ask;
> is there a "good" way to check if a SortedList has duplicate values? What
> about looking for duplicate values in two SortedLists?-- is there a
> reccomended method for looking for dupes in that instance?
>
>
>