Language Integrated Query (LINQ) Question:

What are Quantifiers?

Tweet Share WhatsApp

Answer:

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.

Download LINQ PDF Read All 35 LINQ Questions
Previous QuestionNext Question
What is Difference between XElement and XDocument?What is the benefit of using LINQ on Dataset?