🌈 搜索
📅  最后修改于: 2022-03-11 15:00:56.049000             🧑  作者: Mango
using System.Linq; bool exists = list.Any(x => x.surname == "Smith");