Is Dispose() necessary before recreating a large bitmap inside a loop? : <p>Suppose I have the code:  </p>

<pre><code>void Method1() {
    Bitmap bitmap1;
    foreach (string name in OpenFileDialog1.FileNames) {
        bitmap1 = new Bitmap(name);
        ... // process bitmap
        bitmap1.Dispose();
    }
}
</code></pre>

<p>Is Dispose() necessary inside the loop?</p>
