Skip to content

Instantly share code, notes, and snippets.

@aokomoriuta
Created April 26, 2013 18:01
Show Gist options
  • Save aokomoriuta/5469126 to your computer and use it in GitHub Desktop.
Save aokomoriuta/5469126 to your computer and use it in GitHub Desktop.
Parallel.For(0, 200, i=>
{
result[i] = 0;
for(int j = 0; j<200; j++)
{
result[i] += Math.Sqrt(Math.Sin(i + j));
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment