CHAPTER · 13 lessons

17. Modern C# Features (C# 9 and later)

C# has evolved rapidly over the last five years. C# 9 (.NET 5, November 2020) introduced records and top-level statements. C# 10 (.NET 6) added file-scoped namespaces and global usings. C# 11 (.NET 7) added required members, raw string literals, and generic math. C# 12 (.NET 8) introduced primary constructors and collection expressions. C# 13 (.NET 9, November 2024) adds params collections; the `field` keyword for properties shipped as a preview in C# 13 and went stable in C#

13 lessons 0 complete
Chapter progress 0 of 13 lessons complete

Your journey through this chapter

Other chapters in this module