📜  复制列表 C# 代码示例

📅  最后修改于: 2022-03-11 14:48:49.855000             🧑  作者: Mango

代码示例2
using System;
using System.Linq;
using System.Collections.Generic;

List source = new List() { "A", "B", "C" };
 
List clonedList = source.ToList();
Console.WriteLine(String.Join(",", clonedList));

// Result = A,B,C