Hello!
In my C# app I create an instance of the Bitmap class:
The image with the path stored in file variable could be deleted when I close the appliaction that is using that file in the instance of the Bitmap class. How can I release the image from the img variable so it wouldn't be used by the app anymore?
Regards.
In my C# app I create an instance of the Bitmap class:
Code:
Bitmap img = new Bitmap(file); // file is a string that represents the full path of the image
Regards.
Comment