| Start |
|---|
| C# 6.0: Initialize an Auto-Implemented Property Create a property with getter and/or setter and initialize all in one line: |
Initializing Property with a Backing Field |
Initializing Property in Constructor |
| Property Initialization during object instantiation Properties can be set when an object is instantiated. RemarksWhen deciding on how to create a property, start with an auto-implemented property for simplicity and brevity. Switch to a property with a backing field only when circumstances dictate. If you need other manipulations beyond a simple set and get, you may need to introduce a backing field. |
Read Article
https://develop.horje.com/learn/1434/reference