What is difference among Any, All and Contains?



What is difference among Any, All and Contains?..

Answer / Ankit Awasthi

Any checks if there exists any element in the sequence that meets the given condition. All checks if all elements meet the given condition. Contains checks if a specific element is present within the sequence.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More LINQ Language-Integrated Query Interview Questions

What is meant by linq in c#?

1 Answers  


What is the use of System.XML.XLinq..dll in LINQ?

1 Answers   UGC Corporation,


What are different types of joins in LINQ?

1 Answers  


What is linq in ado net?

1 Answers  


What is the difference between FirstOrDefault() and SingleOrDefault() extension method in LINQ ?

1 Answers  


What are lambda expressions in LINQ?

1 Answers  


What is parallel linq?

1 Answers  


What is the use of System.XML.XLinq.dll?

1 Answers  


Give the name of four LINQ Providers of .NET Framework ?

1 Answers   Sans Pareil IT Services,


What is lambda expression in linq?

1 Answers  


What is the advantage of linq over stored procedures?

1 Answers  


Does java have linq?

1 Answers  


Categories