title: Field initialization
body: <p>Are there any differences between the following two ways of field initialization? When to use which one?</p>
  
  <h3>First way</h3>
  
  <pre><code>public class Class1
  {
     private SomeClass someclass;
  
     public Class1()
     {
         someclass = new SomeClass(some arg);
     }
  }
  </code></pre>
  
  <h3>Second way</h3>
  
  <pre><code>public class Class1
  {
     private SomeClass someclass = new SomeClass(some arg);
  }
  </code></pre>
  
  <p>The field in the second example could be readonly.</p>