#2 Basic looking for something with Where(...) and Any(...)
Simple Where(...) and Any()
Where(FirstName == "Terry")
This filters the authors to only find Terry.
- Terry Pratchett
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Where(FirstName.Length > 5)
This filters the authors with long first names.
- Douglas Adams
- George Akerlof
- Raphael Müller (not an author)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Any(FirstName.Length > 5 / 10)
This filters the authors with long first names.
-
Persons with 5-char names or more: True
-
Persons with 10-char names or more: False
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#2 Basic looking for something with Where(...) and Any(...)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX