[Mono-list] Checking for identical items in an ArrayList

Luis Fernandez luifer@onetel.net.uk
03 Oct 2002 18:16:08 +0000


Hi all,

I'm trying to implement a few methods in the System.Data namespace but I
have the following question.

When creating a DataTable and populating it, the values of each column
are stored in an ArrayList.

If after populating the DataTable I try to set one of the columns to be
unique, the classes need to check if there is any repeated value in the
ArrayList.

Since the DataTable can be storing considerable amounts of data, I would
like to know what what be the best way, performance wise, of doing this.

Thanks for your help.

Luis