How to find the maximum value for an Unique ID using linq

Hi @anjana.k ,

The case seems to be of Group By and Selecting the Max value out of the Grouped values.

For a Starter, Check the below links on Grouping :