Tuesday, 16 October 2012

c sharp classes

how to use expression trees



int[] nums = new int[] { 6, 2, 7, 1, 9, 3 };
IEnumerable<int> numsLessThanFour = nums
  .Where(i => i < 4)
  .OrderBy(i => i);

No comments:

Post a Comment