List<String> listOne = new List<string>{"a", "b", "c", "d"}; List<String> listTwo = new List<string> { "d", "e", "f", "g" }; List<String> listCommon= listOne.Intersect(listTwo).ToList();
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)