Answers

Question and Answer:

  Home  LINQ

⟩ What are Quantifiers?

They are LINQ Extension methods which return a Boolean value

1) All

2) Any

3) Contains

4) SequenceEqual

example:

int[] arr={10,20,30};

var b=arr.All(a=>a>20);

-------------------------------------------

Output:

b will return False since all elements are not > 20.

 152 views

More Questions for you: