I have three Arraylists that hold strings corresponding to addresses of an
e-mail list:
ArrayList masterList
ArrayList optInToMasterLi st
ArrayList optOutFromMaste rList
I want to know the easiest way to add all of the +contents+ of one arraylist
to another.
masterList.Copy To (optInToMasterL ist) does not have the intended effect: I
end up with an array nested in an array, which is quite logical, but it
isn't what I want.
optInToMasterLi st.Remove(optOu tFromMasterList ) does not seem to work either.
I'm sure I could figure out how to .Add and .Remove what I want to using
looping structures, but I would be happiest if there's already an inbuilt
method in the Framework to help me out.
Can you help?
Thank you,
-KF