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#
Chapter progress 0 of 13 lessons complete
Your journey through this chapter
Other chapters in this module
1
1. Introduction to C#
2
2. Variables, Data Types, and Operators
3
3. Control Flow and Exception Handling
4
4. Functions and Methods
5
5. Object-Oriented Programming
6
6. Collections and Generics
7
7. LINQ and Lambda Expressions
8
8. Asynchronous Programming
9
9. File I/O and Serialization
10
10. Memory Management and Garbage Collection
11
11. Debugging and Unit Testing
12
12. Working with Databases
13
13. Web Development with ASP.NET Core
14
14. Windows and Cross-Platform Desktop Applications
15
15. Advanced Topics
16
16. Design Patterns and Best Practices
17. Modern C# Features (C# 9 and later) Current
18
Capstone: Library Management System