SyntaxFix
Write A Post
Hire A Developer
Questions
I think this is all you really need to do:
var listB = new List<int>{3, 4, 5}; var listA = new List<int>{1, 2, 3, 4, 5}; var listMerged = listA.Union(listB);