C# 合并两个List集合

List<BsonDocument> bsonList = new List<BsonDocument>();
List<BsonDocument> list= new List<BsonDocument>();

// 合并
bsonList = bsonList.Concat(list).ToList();

posted @ 2019-12-02 16:34  剑存古风  阅读(14882)  评论(0编辑  收藏  举报