Variable declaration. Optimized way
<p>Which is more optimized way and why?</p>

<pre><code>MyType myType1 = new MyType();
// Do some work with myType1 

myType1 = new MyType();
// Do some work with myType1 
</code></pre>

<p>or </p>

<pre><code>MyType myType1 = new MyType();
// Do some work with myType1 

MyType myType2 = new MyType();
// Do some work with myType2
</code></pre>
