✅ Comparing properties of a values of lists
i have 2 lists
and both
i'm trying to insert a list of
but i don't want to insert Animals with duplicate
List<Animal> and List<Dog>and both
Animal and Dog have the property idi'm trying to insert a list of
Dog into the list of Animalbut i don't want to insert Animals with duplicate
id's