I have a list of items.
The problem is the returned items (which I have no control over) return the same items THREE time.
So while the actual things that should be in the list are:
- A
- B
- C
I get
- A
- B
- C
- A
- B
- C
- A
- B
- C
How can I cleanly and easily remove the duplicates? Maybe count the items, divide by three and delete anything from X to list.Count?
if you are 100% sure that you receive everything you need 3 times, then just