title: Use object initializer - Resharper suggestion
body: <p>I use <code>ReSharper</code> everyday, and today I asked myself why ReSharper suggests "Use object initializer" when I do this :</p>
  
  <pre><code>MyClass myClass = new MyClass();
  myClass.MyInt = 0;
  myClass.MyString = string.Empty;
  </code></pre>
  
  <p>It gets replaced by :</p>
  
  <pre><code>MyClass myClass = new MyClass
  {
      MyInt = 0, 
      MyString = string.Empty
  };
  </code></pre>
  
  <p>Does this optimize the execution of my code, or is it just a matter of reformatting?</p>
  
  <p>Personally, I like it. But sometimes I hate it, because of this :</p>
  
  <p><img src="https://i.stack.imgur.com/PoZiW.png" alt="Resharper"></p>
  
  <p>I can't do <code>step-by-step</code> debugging :(</p>