CSharp 7.2 (C# 7.2)

Eintrag zuletzt aktualisiert am: 24.02.2022

C# 7.2 wird in in Visual Studio 2017 ab Version 15.5 unterstützt.

Neue Sprachfeatures in C# 7.2

  • Unterstriche auch am Anfang in Zahlenliteralen
  • readonly struct: Alle Mitglieder sind Immutable nach Ende des Konstruktors
  • Readonly references mit in
  • Benannte Parameter an beliebiger Stelle
  • Private Protected