hello everyone i hope someone can help me. i want to be able to test 10 strings(some of the strings might have the same value) i want to be able test each string in turn with a loop though the hashtable. so for example if the hashtable equals string 1 extract the strings that do equal string 1 and put them inside a array list along with there key values, and then delete the ones that have been found to equal string 1, so that when i test again it will not find them again. then i want a loop to test the next string (string2) and do the same to that string and so on with the rest of the strings. could someone please help me as my code does work but it is hard coded and i need some help please. thanks for yr time. loftty.
I don't quite understand what you are trying to accomplish. Are you trying to take a list of strings and eliminate the duplicates? Just putting them (as the keys) into a Hashtable does that, since a Hashtable doesn't allow duplicates.