📅  最后修改于: 2022-03-11 14:48:59.410000             🧑  作者: Mango
代码示例1
Item wonderIfItsPresent = ...
bool containsItem = myList.Any(item => item.UniqueProperty == wonderIfItsPresent.UniqueProperty);'