Created
February 6, 2019 16:22
-
-
Save daniframos/c1dc35e974d5a0bf11299d0a53e5d33f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
new[] { 0, 1, 2, 3, 4, 5 }.ToList().Any(numero => numero > 5); // Algum maior que 5 ? false | |
new[] { 0, 1, 2, 3, 4, 5 }.ToList().All(numero => numero != 6); // Todos são diferente de 6 ? true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment