How the dispose() method works in C#.net?
<p>I am developing smart device application in C#. It is a window application. In that application I have created the 4 to 5 window form. I am navigating in these forms from one form to another form by using linklabel control in C#. In <code>linklabel_Click()</code> method which I am using to navigate I am using the code <code>form1.show()</code> according to need. I read that <code>form1.show()</code> method automatically calls the <code>form1.dispose()</code> method on the from1. I also read that once we dispose the form it is removed from memory &amp; we can not call it again. But in my application no one form gets disposed. I can see all the form even after calling the <code>form1.show()</code> method. when I use the link to go once again to from1 it does not get disposed. Is anything wrong in my concept? I am new in C#. Please tell me how the dispose method work in above context? What is the use of dispose method. It will be better if you describe me above issue with example.</p>
