Is there any difference between using LinQ to filter compared to using a collections Where() method.
More specifically,
First
var numQuery = from num in numbers
where (num % 2) == 0
select num;
Second
var numQuery = numbers.Where(num => num % 2 == 0);
In the above query, which is better? And is there any performance consideration?
Thanks.