Created
March 14, 2017 04:34
-
-
Save taross-f/60191661e01c70eb648011cb26f72609 to your computer and use it in GitHub Desktop.
aggregate check
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
void Main() | |
{ | |
new int[0].DefaultIfEmpty().Aggregate((x, y) => x + y).Dump(); | |
new int[0].DefaultIfEmpty().Dump(); | |
new int[0].Aggregate((x, y) => x + y).Dump(); // dead | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment