I have a
List
with 1500 strings. I am now using the following code to pull out only string that start with the string prefix
You can use PLINQ (Parallel LINQ) to make the execution faster:
var newList = list.AsParallel().Where(x => x.StartsWith(prefixText)).ToList()