Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
All-Star
29116 Points
5886 Posts
MVP
Jul 15, 2009 11:20 PM|LINK
Basically, the two selects returns an IEnumerable<IEnumerable<string>> is the issue. You want to use the SelectMany extension method. Check this out: http://msdn.microsoft.com/en-us/library/bb534336.aspx
bmains
All-Star
29116 Points
5886 Posts
MVP
Re: Linq: Query A Nested Collection
Jul 15, 2009 11:20 PM|LINK
Basically, the two selects returns an IEnumerable<IEnumerable<string>> is the issue. You want to use the SelectMany extension method. Check this out: http://msdn.microsoft.com/en-us/library/bb534336.aspx
"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).