Answers for "linq query calculate max of column"

C#
3

getting the row of max value c# linq

var result = table.OrderByDescending(x => x.Status).First();
Posted by: Guest on December-11-2020
0

linq select max value from list

var item = items.MaxBy(x => x.Height);
Posted by: Guest on December-21-2021

C# Answers by Framework

Browse Popular Code Answers by Language