Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果找到记录,是否有运行 Linq 查询的语法导致布尔值?基本上是这样想的
bool = table.field.contains(value)
以下代码返回一个布尔值
table.Any(x=> x.fieldname== "test")