Let\'s suppose if we have a class like:
class Person { internal int PersonID; internal string car; }
I have a list of this class
try
persons.GroupBy(x => x.PersonId).Select(x => x)
or
to check if any person is repeating in your list try
persons.GroupBy(x => x.PersonId).Where(x => x.Count() > 1).Any(x => x)