title: Methods this.hide() vs this.close()
body: <p>My c# windows forms application has 5 forms which I am displaying one after the another. When the user clicks on next button, the code I have given is:</p>
  
  <pre><code>new Form1().Show();
  this.Hide();
  </code></pre>
  
  <p>However I do not want my current Form to hide. I want to close it/dispose it so that it does not consume memory. I want to release its resources like the images and variable used as soon as I am done with it.
  For that I tried implementing:</p>
  
  <pre><code>new Form1().Show();
  this.Close();    //Form 2
  </code></pre>
  
  <p>but this simply closes both the forms.
  I even tried swapping the positions of the above two lines:</p>
  
  <pre><code>this.Close();
  new Form1().Show();
  </code></pre>
  
  <p>but this also does same thing.</p>
  
  <p>How do I release the resources of one form as soon as I am done with it? because my program throws out of memory exception when I try to re-open my Form 2 using:</p>
  
  <pre><code>new Form2().Show();
  this.Hide();
  </code></pre>