All Questions
1 question
6
votes
2
answers
1k
views
When to use Constructor and when to use Collection Initializer?
I am having a .Net class which has 10 properties like given below: [the datatypes of individual property is just a placeholder here and it can be anything from a primitive type to an object to a list ...