return from number in Enumerable.Range(
1, products.Max( p => p.UnitsInStock ) ?? 0 )
select new Walrus
{
UnitsInStock = number,
ProductNames = (
from product in products
where product.UnitsInStock == number
select product.ProductName )
} as IWalrus;
Wednesday, July 23, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment