Dictionary<int, List<Employee>> dictSource = new Dictionary<int, List<Employee>> { { 1, new List<Employee> { 5, "Programmers" }}, { 1, new List<Employee> { 12, "Testers" }}, { 2, new List<Employee> { 2, "Designers" }}, };
string sminValue= dictSource.Min(pair => pair.Value.ElementAt(0))
string sminValue = dictSource.MinBy(pair => pair.Value).Value;
var minRow = dictSource.MinBy(pair => pair.Value);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)