Error!
Success!

C#/.NET Little Wonders: Any() and All()

0
kicks

C#/.NET Little Wonders: Any() and All()  (Unpublished)

Once again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can really help improve your code by making it easier to write and maintain. Today we’re going to look at two more very handy LINQ extension methods: The Any() and All() methods.  These handy methods can help you examine an enumerable collection to determine if any or all of the items in the collection meet some logical condition which can be handy in many ways for checking a collection for integrity or violations.


Kicked By:
Drop Kicked By: