C# 12: now New and Improved!
Thursday, February 1, 2024 - 4:30 PM UTC, for 1 hour.
Regular, 60 minute presentation
Room: Campsite 6
Do your hands hurt from retyping unnamed types and tuples?! Are class definitions running off the screen due to the need to have constructor parameters AND property definitions?! Is typing out un-named types driving you crazy? Stop the insanity with C# 12! See how C# 12 saves programming time, reduces storage device wear-and-tear, and the life improvements that come with it. Not available in stores, this session will detail: - Primary constructors - how they can now be used with all classes. - Default lambda parameters - how lambdas can now have default parameters - Alias any type - how un-named types can now be named with an alias - Inline arrays - how fixed size status may now be added to struct type to realize performance gains similar to unsafe fixed size buffers - Collection expressions - formerly Collection Literals, you can now initialize collections from other collections - Interceptors - reroute specific method calls to different code But wait, there more! For a limited time only, we'll go beyond hyperbole to: - detail what the feature makes possible and its motivation - discuss recommended practices. - review scenarios that each feature addresses - review scenarios that each feature does not address Act now, although none are new in C#12, operators are standing by! https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-12
An understanding of C# and some experience working with it.
- Learn new features in C# 12
- Become a more skilled programmer