how to copy items from one list to another in c# code example
Example: copy a list C#
using System;
using System.Linq;
using System.Collections.Generic;
List<string> source = new List<string>() { "A", "B", "C" };
List<string> clonedList = source.ToList();
Console.WriteLine(String.Join(",", clonedList));
// Result = A,B,C