What's the most efficient way to combine two List(Of String)?
- by Jason Towne
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?