I want to filter results According to List of strings, something like this:
List<string> filters = {"a", "b", "c", "d"};
var results = (from R in db.Entries
where R.word.StartsWith(filters[0])
||R.word.StartsWith(filters[1])
||R.word.StartsWith(filters[2])
||...
I don't know the Length of my filters List so how to Query it dynamically in LINQ?
Thanks in advance.