Loading...

C# 14 New Feature: Field-Backed Properties

C# 14 New Feature: Field-Backed Properties

In this talk, Ian Griffiths explains how C# 14's new field-backed properties feature can save you from metaphorically falling off a cliff when you need more flexibility beyond automatic properties' basic functionality.

He demonstrates the use of this feature to customize property setters without losing the simplicity and support of automatic properties. By allowing you to refer to the compiler-generated field inside get or set methods, C# 14 reduces verbosity and maintains code clarity and organization.

Learn how this small but impactful enhancement can improve your C# coding experience.

  • 00:00 Introduction to C# 14's New Feature
  • 00:30 Understanding Automatic Properties
  • 01:11 Customizing Property Behavior
  • 03:06 Introducing C# 14's New Syntax
  • 04:21 Benefits of the New Feature
  • 05:33 Conclusion

Published on:

Learn more
endjin.com
endjin.com

We help small teams achieve big things.

Share post:

Related posts

Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy