hi there, i got some problems in extract the minimum value in a sortedlist, as below:
Dictionary<string, double> sortList = new Dictionary<string, double>();
double min;
sortList.Add(1,2);
sortList.Add(2,5);
// min = sortList5.Min(x => x.Value);
I wants to find minimum value of the sortlist.value, is there has any functions of sortedlist/dictionary to find minimum/lowest value in such problem? I saw from online got a method " min = sortList5.Min(x => x.Value);", but there had errors when i excecuted.. Anyone knows?