Loading...

C# 12.0: primary constructors

C# 12.0: primary constructors
C# 12.0's most prominent new feature is the primary constructor syntax. This post describes how it works, and looks at some pros and cons.

Published on:

Learn more
Need help with this product?

We can help you with C# 12.0: primary constructors

If you want help implementing, troubleshooting, or improving this product, contact us and we’ll point you in the right direction.

endjin.com
endjin.com

We help small teams achieve big things.

Share post:

Related posts

Deploying & Debugging C# Web API Custom Connectors from within Visual Studio! 🚀

This video tutorial showcases how to deploy and debug custom connectors for C# web APIs from within Visual Studio. With this informative guide...

3 years ago

ASP.NET Core 8.0 uses C# 12.0's experimental interceptors to enable AOT

C# 12 includes an experimental 'interceptors' feature. If you use trimming or AOT publishing in ASP.NET Core 8.0, you're already using this.

2 years ago

Programming C# 12 Book, by Ian Griffiths, published by O'Reilly Media, is now available to buy.

The latest edition of the book covers all of the additions and changes to the C# language that have been made in C# 11.0 and C# 12.0 including...

2 years ago

Ian Griffiths presenting at Visual Studio Live! 2023 Las Vegas

Ian Griffiths is presenting at Visual Studio Live! in Las Vegas on C# 12, .NET 8, .NET Cold Start in the Cloud, and Building Azure PaaS Apps w...

3 years ago

C# 11.0 new features: ref fields and the scoped keyword

C# 11.0 expanded high-performance, low-allocation functionality. This post describes the importance of the added support for ref fields, and h...

2 years ago

Mads Torgersen: The Latest in C# - Episode 291

If you're interested in keeping up with the latest in C# development, this episode featuring Mads Torgersen, the Lead Designer of the C# langu...

2 years ago

C# 11.0 new features: raw string literals

C# 11.0 adds various improvements to string literals. In this post, Ian explains how raw string literals can make your code more readable.

3 years ago

Ian Griffiths presenting at Visual Studio Live! 2023 Las Vegas

Ian Griffiths is presenting at Visual Studio Live! in Las Vegas on C# 12, .NET 8, .NET Cold Start in the Cloud, and Building Azure PaaS Apps w...

3 years ago

C++ Code Generator: Generate Code Quickly & Accurately

If you're working on a C++ software project, you know how time-consuming writing precise syntax can be. But fear not, as the rise of AI-powere...

2 years ago

C# Lambda Discards

C# has gradually been adding support for discards. This article explores how this evolution has led to some surprises.

4 years ago

Newsletter

Get the latest Dynamics 365 and Power Platform content in your inbox

A curated digest of community blogs, product news, videos, and podcasts — delivered without the noise.

Weekly updates Unsubscribe anytime Fresh community picks
We use your email only for the newsletter and you can unsubscribe at any time.
By subscribing, you agree to the privacy policy.