Destroy Static Variables in C#/ASP.NET
<p>I am forced to use static variables because of the asp.net execution path. I have to have the same variables on the master page as well as the page being called. Static variables make it very easy to carry over variables because they remain static. Unfortunately these variables hang in the ether of memory because the app hasn't actually "exited". Is there a way to destroy these variables when I finished used them? I looked into </p>

<pre><code>IDisposable
</code></pre>

<p>but its implementation is not... clean. Is there a way to destroy variables when the page finishes rendering?</p>
