title: When initializing in C# constructors what's better: initializer lists or assignment?
body: <p>Class A uses an initializer list to set the member to the paramter value, while Class B uses assignment within the constructor's body.</p>
  
  <p>Can anyone give any reason to prefer one over the other as long as I'm consistent?</p>
  
  <pre><code>class A
  {
      String _filename;
  
      A(String filename) : _filename(filename)
      {
      }
  }
  </code></pre>
  
  <p><br></p>
  
  <pre><code>class B
  {
      String _filename;
  
      B(String filename)
      {
          _filename = filename;
      }
  }
  </code></pre>