📜  c# list 添加到列表 - C# 代码示例

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

代码示例3
List initialList = new List();
// Put whatever you want in the initial list
List listToAdd = new List();
// Put whatever you want in the second list
initialList.AddRange(listToAdd);