Skip to content

Instantly share code, notes, and snippets.

@syedharoonmca
Created January 1, 2023 05:15
Show Gist options
  • Save syedharoonmca/e8d57153f38add05c1ffdc16218470b5 to your computer and use it in GitHub Desktop.
Save syedharoonmca/e8d57153f38add05c1ffdc16218470b5 to your computer and use it in GitHub Desktop.
List<int> intList =new List<int>{1,2,3,4,5,6,7,8,9,10};
IEnumeralbe<int> EvenNumberList =intList.Where(n=> n%2 == 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment