LINQ

Quantifier Operations

Quantifier Operations

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

 

Top course recommendations for you

    Circular Queue
    1 hrs
    Beginner
    3.2K+ Learners
    4.53  (224)
    Python Stack
    2 hrs
    Beginner
    7.9K+ Learners
    4.4  (405)
    AI and Big Data in IOT
    1 hrs
    Intermediate
    12.9K+ Learners
    4.48  (1334)
    Selenium Basics
    1 hrs
    Beginner
    31.4K+ Learners
    4.43  (2105)
    Selenium with Python
    1 hrs
    Beginner
    16.4K+ Learners
    4.45  (920)
    Selenium Projects with Python
    2 hrs
    Intermediate
    10.1K+ Learners
    4.52  (284)
    Java Projects
    1 hrs
    Beginner
    29.2K+ Learners
    4.2  (265)
    JDBC in Java
    1 hrs
    Beginner
    10.9K+ Learners
    4.42  (1016)
    Flask Python
    1 hrs
    Beginner
    12.1K+ Learners
    4.39  (648)
    Linked List in Python
    3 hrs
    Beginner
    3.2K+ Learners
    4.56  (71)