Created
September 28, 2018 16:39
-
-
Save shawnwildermuth/0bdbc32c88de6121efc252e8bf789006 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var result = someCollection | |
.Where(c => c.Married && c.Gender == Genders.Female) | |
.OrderBy(c => c.LastName) | |
.ForEach(c => | |
{ | |
c.LastName = $"{c.LastName}-{c.Partner.LastName}"; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Don't stop there!