Answers and code snippets from ASP.NET projects (Webforms/MVC/Classic ASP)
var list1 = new List() { 1, 3, 4, 5 }; var list2 = new List() { 2, 3, 4, 5 }; var commonItems = list1.Intersect(list2);
No comments:
Post a Comment