📜  列表克隆 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:24.532000             🧑  作者: 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