I went through this:
var bmp = new WriteableBitmap(ImageWidth, ImageHeight, 96, 96, PixelFormat, null); // declaring the variable
_measurement.MasterImage.CopyTo(bmp); // passing the variable by value
TransformedBitmap transformedBmp = new TransformedBitmap( bmp, new RotateTransform(90)); // using the variable with it new value
How could variable bmp
be changed and we did Not pass by reference?