Initializing Properties

suggest change

Remarks

When 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.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents