score:2

Accepted answer

Its an IEnumberable<selected data type> - the selected data type could be an anonymous type, or in this case, will be your dataset type class.

score:1

I would guess something like IEnumerable<Product>. And as ck says, Product is the name of your LINQ data class.

score:0

In your first example... mouse-over the word "var" in Visual studio, and it will display the "Type".

If it's something like 'anonymouse{blahblah}'... then you'll likely have to create a class that you want to convert it to so that you can use it as a function parameter.


Related Articles