What are the new features of C# 10?
I have listed the new feature’s available in C# 10. C# 10 has been released in the month of November 2021 and supports .NET 6.0 and Visual Studio 2022 version 17.0.
1) Global and implicit usings2) Global using directives3) Implicit usings4) Combining using features5) File-scoped namespaces6) Improvements for lambda expressions and method groups7) Natural types for lambdas8) Natural types for method groups9) Return types for lambdas10) Attributes on lambdas11) Improvements to structs12) Parameterless struct constructors and field initializers13) record structs14) sealed modifier on ToString() in record classes15) with expressions on structs and anonymous types16) Interpolated string improvements17) Interpolated string handlers18) Constant interpolated strings19) Mix declarations and variables in deconstruction20) Improved definite assignment21) Extended property patterns22) Caller expression attribute
For more detailed features, refer these websites:
1) https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-102) https://www.c-sharpcorner.com/article/some-cool-features-in-c-sharp-10/