KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is there any (performance) difference between this: Person person = new Person() { Name = "Philippe", Mail = "phil@phil.com", }; and this: Person person = new Person(); person.Name = "Philippe"; person.Mail = "phil@phil.com"; You can imagine a bigger object with more properties.
Tags (comma-separated)
Save Edits
Cancel