30秒学会 C# 片段 – None
Returns true
if the provided predicate function returns false
for all elements in a collection, false
otherwise.
Use IEnumerable.ToArray()
, Array.Exists()
to test if all elements in the collection return false
based on the predicate function, match
.
Omit the predicate function, match
, to use the overload that checks if each value is null
by default.