I would like to get a column of Ages with the values of each row to calculate the Mode.
Here is my code:
int[] ages = ?
var mode = ages.GroupBy(n => n).
OrderByDescending(g => g.Count()).
Select(g => g.Key).FirstOrDefault();
My problem is I cant get a lambda expression on grid holding the column of values.