Is there a way to do a contains search in linq across all the rows at once rather than list them out.
At the moment I am doing
Data.Where(
x => x.Name.Contains(searchValue) ||
x.Address.Contains(searchValue) ||
x.Id.ToString().Contains(searchValue)... etc
What would I like to do is pass in a generic and have it search across all the data in the rows?
e.g. Data.Where(x => row.Contains(searchValue))