C# 8 introduced several powerful features that enhance productivity, improve code safety, and simplify common programming patterns. Below is an overview of the key features added in C# 8
1. Nullable Reference Types
2. Switch Expressions
3. Ranges and Indices
4. Default Interface Methods
5. Async Streams
6. Static Local Functions
7. Using Declarations
8. Pattern Matching Enhancements
9. Null-Coalescing Assignment Operator
10. Stackalloc in Nested Expressions
11. Readonly Members