Answers for "c# dictionary get values in list"

C#
1

c# dictionary values to list

var items = myDictionary.Values.ToList();

//Use Linq if you want to flattern your lists
var items = myDictionary.SelectMany (d => d.Value).ToList();
Posted by: Guest on July-03-2021

Code answers related to "c# dictionary get values in list"

C# Answers by Framework

Browse Popular Code Answers by Language