در Linq از متد Distict استفاده کنید.


var query = people.DistinctBy(p => new { p.Id, p.Name });