I have a list
List myList
and I am adding items to a list and I want to check if that object is already in the list.
If it's maintainable to use those 2 properties, you could:
bool alreadyExists = myList.Any(x=> x.Foo=="ooo" && x.Bar == "bat");