What's the most efficient way to combine two List(Of String)?

Posted by Jason Towne on Stack Overflow See other posts from Stack Overflow or by Jason Towne
Published on 2010-03-16T19:52:28Z Indexed on 2010/03/16 20:21 UTC
Read the original article Hit count: 157

Filed under:
|
|
|

Let's say I've got:

Dim los1 as New List(Of String)
los1.Add("Some value")

Dim los2 as New List(Of String)
los2.Add("More values")

What would be the most efficient way to combine the two into a single List(Of String)?

Edit: While I'm loving the solutions everyone has provided so far, I probably should also mention I'm stuck using the .NET 2.0 framework. Any other suggestions?

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about generics