int [] nums = {1, -2, 3, 0, -4, 5}; var posNums = from n in nums where n > 0 select n;
int [] nums = {1, -2, 3, 0, -4, 5}; var posNums = nums.Where(n => n > 0);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)