How to get dictionary values as a generic list
How about:
var values = myDico.Values.ToList();
Off course, myDico.Values is List<List<MyType>>
.
Use Linq if you want to flattern your lists
var items = myDico.SelectMany (d => d.Value).ToList();
You probably want to flatten all of the lists in Values
into a single list:
List<MyType> allItems = myDico.Values.SelectMany(c => c).ToList();
Another variant:
List<MyType> items = new List<MyType>();
items.AddRange(myDico.Values);