C#C
C#4y ago
damia

Object Initializers - To Parenthesize or Not To Parenthesize (that is the question)

What is the difference between the object initializers on lines 1 and 2? In what situations should one be preferred over the other?
unknown.png
Was this page helpful?