I have 2 columns
Name and Amount
I like the linq to return the Name based on who has the Maximum Amount.
So far I have the following:
string name = (from nm in bg
select nm.Name).Max(Amount);
which obviously will not work.
Thank you.
or