When some or all components in a chain satisfy a given condition, these operators return a Boolean result, i.e. True or False.
Examples:
Operator |
Particulars |
C# Query Expression Syntax |
VB Query Expression Syntax |
Any |
It helps determine that whether elements of a succession satisfy specified criteria by searching it. |
Not Applicable |
Aggregate … In … Into Any() |
All |
If all items of a sequence meet a predicated criterion, the value 'True' is returned. |
Not Applicable |
Aggregate … In … Into All(…) |
Contains |
A' True' value is produced if a certain value is found in a sequence; if the sequence does not include that specific element, a 'false' value is returned. |
Not Applicable |
Not Applicable |