[Solved] Copying a C# Collection to another collection [closed]
[ad_1] var l1 = new List<Class1>(); var l2 = new List<Class2>(); l2.AddRange(l1.Select(i=>new Class2() {locationID = i.locationID, locationName = i.locationName}); 1 [ad_2] solved Copying a C# Collection to another collection [closed]