tags:

views:

39

answers:

1

Which linq query more productive

values.SelectMany(val => val.childs).Where(predicate)

or

values.SelectMany(val => val.childs.Where(predicate))

where val.childs is array Child[]

Thanks

A: 

Neither one should be significantly faster for most uses.

David B