i like to know What is the difference between LINQ & PLINQ in terms of execution ?
when we should use PLINQ not LINQ just discuss some situation
here giving two code. one done by LINQ and other done by PLINQ.
just tell me what is the difference and what the two code is doing?
LINQ
var q = from file in fileList
where file.Length > 10000
select file;
PLINQ
var q = from file in fileList.AsParallel()
where file.Length > 10000
select file;
please see the above code and tell me how both the code execute and what is the difference in terms of execution? thanks