c# copy list into another list code example
Example: c# copy the elements of a list to another list
List<Int32> copy = new List<Int32>(original);
List<Int32> copy = original.ToList(); // if you're using C# 3 and .NET 3.5, with Linq
List<Int32> copy = new List<Int32>(original);
List<Int32> copy = original.ToList(); // if you're using C# 3 and .NET 3.5, with Linq