Skip to content

Instantly share code, notes, and snippets.

@jonelf
Created October 17, 2012 12:36
Show Gist options
  • Save jonelf/3905316 to your computer and use it in GitHub Desktop.
Save jonelf/3905316 to your computer and use it in GitHub Desktop.
LLINQ
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