I have a list of approx. 500,000 strings, each approx. 100 characters long. Given a search term, I want to identify all strings in the list that contain the search term. At
Have you tried the following?
list.FindAll(x => x.Contains("YourTerm")).ToList();
For some reason the List.AsParallel().Where(...) is slower than list.FindAll(...) on my PC.
list.AsParallel().Where(x => x.Contains("YourTerm")).ToList();
Hope this will help you.