---
title: "Discussion on \"Complex object initialization\" | Hashnode"
description: "Discussion on \"Complex object initialization\". ReShaper just showed me an optimisation I did not know existed, there's another way to initialise objects.\nI was aware of a few ways to initialise properties on an object. The first is creating an object and then setting its properties. The second is..."
url: "https://hashnode.com/posts/complex-object-initialization/606745ab7f07b6328b5dd599"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Complex object initialization](https://kenbonny.net/complex-object-initialization?utm_source=hashnode&utm_medium=feed)

ReShaper just showed me an optimisation I did not know existed, there's another way to initialise objects. I was aware of a few ways to initialise properties on an object. The first is creating an object and then setting its properties. The second is...

Feb 6, 2017 · 2 min read · kenbonny.net  
Updated Apr 13, 2021  
Read the article

-   [#csharp](https://hashnode.com/tag/csharp)
-   [#dotnet](https://hashnode.com/tag/dotnet)
-   [#dotnetcore](https://hashnode.com/tag/dotnetcore)

## Written by

[Ken Bonny](https://hashnode.com/@KenBonny)

@KenBonny

  
[View profile](https://hashnode.com/@KenBonny)

Software craftsman specialising in Microsoft technology

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
