The first option was needed in the first C # compiler. Subsequent versions do not require this - the second is strictly equivalent to the first, and the compiler will deliver a constructor call.
Since the second option is shorter, removes unnecessary redundancy and has no shortcomings, I recommend using it instead of the explicit version. On the other hand, the IDE, unfortunately, offers only intelligent code completion for the first version, so you can just go with it.
Konrad Rudolph
source share