Summary
In this chapter, we have learned about the major additions to the C# language features in version 10. We have seen how C# 10 simplifies the code written with implicit and global using directives. We have learned about record structs and how they compare with the record class introduced in C# 9. We have also learned about the improvements to Lambda expressions, expression type inference, and explicitly specifying the return type for the expression. We have also seen performance improvements in interpolated strings. We have also learned how to build throw helpers using the CallerArgumentExpression attribute.
With this chapter, we have gained the skills to leverage these new features of C# 10 features in the enterprise e-commerce application that we are going to build in the coming chapters. In addition to these, there are a few more small enhancements. You can refer to the C# language documentation to learn more here: https://docs.microsoft.com/en-us/dotnet/csharp/whats-new...