Are class declarations that are initially set, internally the same as setting them in the constructor?
<p>Are class declarations that are initially set, internally the same as setting them in the constructor?</p>

<p>example:</p>

<pre><code>class test
{
     int test1 = 5;
}
</code></pre>

<p>Is there any difference between that and</p>

<pre><code>class test
{
     int test1;
     public test()
     {
         test1 = 5;
     }
}  
</code></pre>

<p>If there is no difference, which is more correct to do? </p>
