I have a dictionary in C#:
public Dictionary
And I would like to get my result in to a generic list:
Li
Try this
List productList = dictionary.OrderByDescending(x => x.Value).Select(x => x.Key).ToList();