zxa4fd
How to filter list so that if there are objects with same values in fields? [Answered]
Is there a way to filter objects so that objects with same field values are not duplicated in a list?
```cs
var a = new Person(){Name="john", Age=22};
var b = new Person(){Name="john", Age=22};
var myList = new List<Person>(){a,b};
// what LINQ code to put here so that there are no duplicates?
9 replies