📜  如何添加到列表 c# 代码示例

📅  最后修改于: 2022-03-11 14:48:43.036000             🧑  作者: 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);