Skip to content

Instantly share code, notes, and snippets.

@Niksko
Created February 28, 2018 11:31
Show Gist options
  • Select an option

  • Save Niksko/b9ff917f468c748a544c79a4a50f1187 to your computer and use it in GitHub Desktop.

Select an option

Save Niksko/b9ff917f468c748a544c79a4a50f1187 to your computer and use it in GitHub Desktop.
Phoenix talk gists
var numberList = new List<int> {
10,
11,
20,
21,
22,
23
};
var numbersFromListGreaterThan21 = numberList.Count(x => x >= 21);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment