Answers for "how to copy list items to another list in c#"

0

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
Posted by: Guest on October-25-2020

Code answers related to "how to copy list items to another list in c#"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language