Skip to content

Instantly share code, notes, and snippets.

@jmarolf
Created April 13, 2015 19:27
Show Gist options
  • Save jmarolf/932591aef503bc404018 to your computer and use it in GitHub Desktop.
Save jmarolf/932591aef503bc404018 to your computer and use it in GitHub Desktop.
using System.Collections.Generic;
using System.Linq;
class Program
{
static void Main(string[] args)
{
var list = new List<int>();
list.Where(x => x % 2 == 0).OrderByDescending(x => x)
.Select(x => x);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment