Constructors vs. object initializers

added by Brian Lowry
6/12/2014 9:10:58 AM

0 Kicks, 55 Views

The release of C# 3.0 brought the syntactic sugar of object initializers. Like most developers, I was excited for the new feature as it made initializing objects quicker and cleaner. Unfortunately, this feature can cause nightmares for other developers and can wreak havoc on a code base.


0 comments