In a collection we can easily check if there is any (particular) item: This is a very efficient way to check because it doesn't enumerate the whole collection. After enumerating the first element, the Any() method returns the result. This saves time if the collection is large or enumeration goes slow.
Het is vandaag 25-9-2023, dus is Alex 54 jaren, 5 maanden en 4 weken oud.