3. Empty collection

Any: Returns false if the collection is empty and a lambda expression is supplied:

varnumbers=newList<int>();boolresult=numbers.Any(i=>i>=0);//false

Note:Any will stop iteration of the collection as soon as it finds an element matching the condition. This means that the collection will not necessarily be fully enumerated; it will only be enumerated far enough to find the first item matching the condition.