I have a FormCollection, and I just want to iterate over keys that don't contain string prices.
So I tried this ...
foreach (var key in collection.AllKeys.Where(k => !k.Contains("Pricing"))){ ... }
The problem is that return is not a filtered list returning its boolean values ... which needs a filtered list of strings ...
AllKeys returns the string [], so in a sense, I'm just trying to filter the string [] here ...
What I miss here ...
Thanks a lot!
source
share