Link to home
Start Free TrialLog in
Avatar of RenAndStimpy
RenAndStimpyFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Most efficient way of merging 2 ArrayCollections

As the title suggest I'm looking for the fastest, cleanest most efficient way of merging 2 ArrayCollections.  I've seen several solutions on the internet but its not clear which is the best method.

Thanks.
Avatar of Pravin Asar
Pravin Asar
Flag of United States of America image

This is a very vague description of the problem.

Can you be little more specific.

Are you looking to elliminate duplicates ? or looking to merge two distinct collections into one consolidated collection. Is the data/array collection hierarchical ?
ASKER CERTIFIED SOLUTION
Avatar of RenAndStimpy
RenAndStimpy
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RenAndStimpy

ASKER

My posted example works well.