SearchList2 = SearchList1.Where(item => item.name.StartsWith(searchValue)).ToList();
I want to search through a list fast and store the result in another list like the previous code.
Note: the SearchList1 has large numbers of items
SearchList2 = SearchList1.Where(item => item.name.StartsWith(searchValue)).ToList();
I want to search through a list fast and store the result in another list like the previous code.
Note: the SearchList1 has large numbers of items