Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The new syntax avoids having to do that "double" declaration.

Yes, that's right. It is in other words a way to access the compile-time generated backing field for auto-implemented properties. It is quite nice to be honest, I just wish they presented a bit of context in their announcements.





They provide a bit more context around changes in their "What's new in C# 14" page:

https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/cs...


This is great thank you.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: