Converting a two layer nested for loop to nested Parallel.for loop in C# : <p>I want to convert the following code in C# to a parallel for. I searched the internet, but I could not find a proper way of doing that. I appreciate your helps.</p>

<pre><code>Bitmap bmp = new Bitmap(1792, 2048);
for (int i = 0; i &lt; 1792; i++)
{
    for (int j = 0; j &lt; 2048; j++)
    {
        bmp.SetPixel(i,j,Color.FromArgb(100, 128, 128));
    }
}
</code></pre>
