Get values from nested Dictionary using LINQ. Values of Dictionary are list of lists?

Dictionary>> dictionary = ... var values = dictionary.Values. SelectMany(x => x. SelectMany(y => y.

SelectMany(z => z)) Edit : Didn't realize it was a list of lists, so modified to account for that.

Dictionary>> dictionary = ... var values = dictionary.Values. SelectMany(x => x. SelectMany(y => y.

SelectMany(z => z)); Edit: Didn't realize it was a list of lists, so modified to account for that.

It should be in this way, Dictionary>> – Ravi Sep 24 '10 at 3:04 Thanks Kirk Woll it worked. This is fantastic place to get queries answered quick. – Ravi Sep 24 '10 at 3:26.

How to get values from nested Dictionary using LINQ. Keys in the Dictionary are integer. Values of Dictionary are list of lists.

Seconday level list is a list of array holding integer value. Thanks in advance.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions