public void screenShot(string path)
{
var bmpScreenshot = new Bitmap(Screen.PrimaryScreen.Bounds.Width,
Scree
The "Dispose" method comes from the "IDisposable" interface and does the following:
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Basically you can say that the resources used are not released immediately . Not even when they are no longer needed. But only when the garbage collector releases them.
For more information check out the MSDN: IDisposable Interface
Other useful links on this topic: