LINQ in Action roller

Walking nested IEnumerables<>

Hi, my select query returned IEnumerable>>. Is there any better way walking through 'a then foreach (var As in qResult) foreach (var Bs in As) foreach (var B in Bs) do work with B ? I mean for example some extension method like "Flatten" which would return just IEnumerable and traverse all nested IEnumerables available... Or do I build the query wrong ( from ... select from ... select from ... select )? Is there any syntax which would result in flat IEnumerable instead? Thanks! Jan Read More...
Published Sunday, July 06, 2008 12:58 AM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication