Let's say I have two listviews, called A & B. I fill A with 20 items, and a few minutes later, I also fill B with 20 items. Both lists contain completely different data with no duplicates.
Now, for some reason unbeknownst to us, I get in the crazy mood to add the contents in B to listview A. Of course I can do this using a simple ForEach
loop, where I go over every item in B and add it to A.
But this takes time and processing power! Really old systems (think about crappy CE handhelds) will surely beg for mercy! So I got to thinking, what if there was a way to merge the listviewcollection of B with the listviewcollection of A in one go?
Is it possible to merge two listviewcollections without a ForEach
loop?