Background: C# 10, along with .NET 6 and Visual Studio 2022, are
released in November 2021.
Here are the good parts in C#:
- C# 1: Anders Hejlsberg led the design of C#
- C# 2: Generics, nullable, anonymous methods
- C# 3: LINQ, extension methods, lambda expressions
- C# 4: dynamic, covariance and contravariance
- C# 5: async/await, caller info
- C# 6: string interpolation, nameof, using static
- C# 7: span, ref struct
- C# 8: async streaming, patterns, indices and range
- C# 9: record, covariant return types, Lambda discard parameters
- C# 10: null parameter checking, lobal using, file namespaces