C#C
C#3y ago
Livid

✅ Comparing properties of a values of lists

i have 2 lists List<Animal> and List<Dog>

and both Animal and Dog have the property id

i'm trying to insert a list of Dog into the list of Animal
but i don't want to insert Animals with duplicate id's
Was this page helpful?