Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var names = collection
.Where(item => item.Name == "Fred")
.OrderBy(item => item.Age)
.Select(item => item.Name)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment