Created
October 17, 2012 12:36
-
-
Save jonelf/3905316 to your computer and use it in GitHub Desktop.
LLINQ
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
var numbers = new[] { 8, 12, 21 }; | |
var biggerThan12 = numbers.Where(n => n > 12); | |
numbers[1] = 13; | |
foreach (var number in biggerThan12) | |
{ | |
Console.WriteLine(number); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment