I’ve been working with Objective-C recently, and ran across a discussion of Cocoa Key Paths and Microsoft’s LINQ. With Microsoft LINQ (Language Integrated Query), you can do things like this:

public void Linq1() {
int[] numbers = { 5, 4, 1, 3, 9, 8, 6, 7, 2, 0 };
[...]