C#
.NET

C# 12 and .NET 8

With each new C# version, new features are added. This is also the case in C# version 12. It is the same with .NET. The latest LTS version of .NET is version 8. .NET 8 brings a variety of enhancements. Two of the most important are Native AOT and Source Generators.

Contents

New Features of C# 11

  • Raw string literals
  • Generic math
  • List patterns
  • Minor C# 11 Enhancements

New Features of C# 12

  • Primary Constructors
  • Collection expressions
  • Default Lambda Parameters
  • Inline Arrays
  • Interceptors
  • Minor C# 12 Enhancements

Extensions to .NET Libraries

  • .NET Native AOT
  • Source generators
  • EF Core updates
  • Introduction to .NET Aspire
  • Blazor updates
An unhandled error has occurred. Reload 🗙