Please attach a test project that replicates this problem. Also, specify what is in the resource? You can attach the project and the file for the resource here or in a forum PM.
Compare list 1 and 2 -> put missing elements in extra list (without foreach)
-
Hello everybody!
I have a problem, I need all missing elements in a separate list
List 1
- A
- C
- D
List 2
- A
- B
- C
- D
The only element in List 3 needs to be
- B
How do I solve this most efficiently? A foreach would take too long for my purpose.
Maybe I'll over think this and there is a simple solution but i dont get it rn.Thanks for helping :)