I have a list of items in the ArrayList that contains a single item and a duplicate item. I want to distinguish between the two, get all single items in one list and all duplicate items in another list. For the duplicate item, just get 1 item name.
I have the if and else statement to compare the first item to the next item in the Arraylist, it it match, then insert the item name in the Multi Item ArrayList else insert in the Single Item ArrayList. The item can't exist in both list, it's either in the single item list or multi item list. How do I separate 2 items in the list in c#? Thank you so much
I have the code below to separate 2 items in the list but some of the item does exist in both list.
ArrayList Items = Go to the complete details ...