I have a FormCollection and I just want to only iterate through the keys the do not contain the string pricing.
So what I tried was this...
foreach (
Are you sure that you're using Where and not Select?
Where
Select
Using Where will return an IEnumerable which is what you're expecting.
IEnumerable
Using Select will return an IEnumerable which is what you say is actually happening.