Parallel.ForEach construct in C# TPL http://aruld.info/parallel-looping-constructs-in-java-lambda-expressions-to-the-rescue/
Parallel.ForEach(students, student => { | |
student.GradePointAverage = student.Tests.Select(test => test.Grade * test.Weight).Sum(); | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment