Using .NET 4.0 I need a small C# benchmark application that multiplies values in a double array or list having 5000 elements.
The benchmark needs to show processing time for each of:
1. Regular single-threaded C# app
2. C# example that uses [login to view URL] ForEach (I guess also using FromCurrentSynchronizationContext so the UI thread works)
3. C# example that uses PLINQ to multiplies all the values in the array by some number.
Each of those three should display their processing time, once for running 100 elements and once for running the maximum 5000 elements.
## Deliverables
1) All deliverables will be considered "work made for hire" under U.S. Copyright law. Employer will receive exclusive and complete copyrights to all work purchased. (No 3rd party components unless all copyright ramifications are explained AND AGREED TO by the employer on the site per the worker's Worker Legal Agreement).
## Platform
.NET 4.0