how to get max value of a column in linq code example Example: getting the row of max value c# linq var result = table.OrderByDescending(x => x.Status).First();