What is difference between Instanted then using and Uninstant using?
<p>Please looking in the below codes:</p>

<pre><code>new StreamWriter("c:/myText.txt").Write("Some thing...");
</code></pre>

<p>And,</p>

<pre><code>using (var streamWriter = new StreamWriter("c:/myText.txt")
{
    streamWriter.Write("Some thing...");
}
</code></pre>

<p>The first code creating the file but doesn't write "Some thing..." in that.
But the second code works as well and write in that.</p>

<p>Why this issue happens? What is the difference?</p>
