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.
Bitmap bmp = new Bitmap(1792, 2048);
for (int i = 0; i < 1792; i++)
{
for (int j = 0; j < 2048; j++)
{
bmp.SetPixel(i,j,Color.FromArgb(100, 128, 128));
}
}