C# -- Should I NULL an object if it has no use in the following scope?
<p>Given the following question, I am asking the "C# Best Practice".</p>

<pre><code>    File.WriteAllText("YourXaml.xaml", txtXamlData.Text);

    Window myWindow = null;
    try
    {
        using (Stream sr = File.Open("YourXaml.xaml", FileMode.Open))
        {
            myWindow = (Window)XamlReader.Load(sr);
            myWindow.ShowDialog();
            myWindow.Close();
            myWindow = null; // **should we do this?**
        }
    }
    catch (System.Exception ex)
    {       
    }
</code></pre>

<p>Thank you</p>
