I have a List<Object>
n Objects
.
In n Objects have some object that they have same Id
.
Example List<T> = {t1, t2, t3, t4, t5....,t10}.
assuming that:
t1.Id = t5.id
So i want to remove t5
from that List
.
Who can help me plz.
In this question: using LINQ to remove objects within a List you know that object duplicates (ex: "bob"), but in my question, in this List, i don't know any object duplicate before.