Thoughts on Object Initializer Syntax?

When writing the following code var obj = new SomeClass(); obj.Property1 = 1; obj.Property2= someNullReference.someInvalidProperty; Visual Studio (or Resharper perhaps), suggests converting it into the following: ​ var obj = new SomeClass(){ Property1 = 1, Property2 = someNullReference.someInvalidProperty }; I don’t see any advantages with Object Initializer Syntax. Infact, it makes debugging a nightmare if […]