Check out example codes for "resize image c#". It will help you in understanding the concepts better.

Code Example 1

public static Image resizeImage(Image imgToResize, Size size)
    {
       return (Image)(new Bitmap(imgToResize, size));
    }

    yourImage = resizeImage(yourImage, new Size(50,50));

Learn ReactJs, React Native from akashmittal.com