Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #copy #elements #list #list
ADD COMMENT
Topic
Name
5+2 =