Fixing unscrambling file
I have this file to unscramble pixels in my input file to create the dutch flag in the output file, but for some reason, my output file is still scrambled.

Unscramble.cs1.36KB
pixel[index1] a valuepixel[index2] a valuepixel[index1]pixel[index2]public static void Swap(List<Pixel> pixel, int index1, int index2)
{
Pixel temp = pixel[index1];
pixel[index1] = pixel[index2];
pixel[index1] = temp;
}