本文翻译自:Joining two lists together
If I have two lists of type string (or any other type), what is a quick way of joining the two lists? 如果我有两个类型字符串列表(或任何其他类型),加入这两个列表的快速方法是什么?
The order should stay the same. 订单应该保持不变。 Duplicates should be removed (though every item in both links are unique). 应删除重复项(尽管两个链接中的每个项都是唯一的)。 I didn't find much on this when googling and didn't want to implement any .NET interfaces for speed of delivery. 谷歌搜索时我没有找到太多,并且不想实现任何.NET接口以提高交付速度。
#1楼
参考:https://stackoom.com/question/6PXv/将两个列表连接在一起
#2楼
Something like this: 像这样的东