LINQ: what is the type of a result? -
I have a simple selection of a dataset of typed:
var from productlist = In Prds ("Manufacturer") is equivalent to prdcat.Field & lt; Int & gt; ("Manufacturer") where prdcat.Field & lt; Int & gt; ("" "" "" "Classified") == Select the category PDAs; Where the product list is recorded from the SkypeProducts dataset of the dataset. I'd like to write a function to filter the record with a specific one:
public list & lt; string, string> GetDistinctManufacturerList (? Productlist, int manufacturerid) {manufacturers = producer Prdz in the list where prdz.Field & lt; int & gt; ("manufacturerid") == manufacturerid select prdz; [...]} what type of object should I refer to the variable productlist ?
Its an IEnumberable
Comments
Post a Comment