Summary
In this chapter, we've learned about the core goal of the C# design team: to enable C# developers to write code that focuses on core business problems and eliminate some verbosity from the code using the improved switch
expression.
We've learned about the benefits of using immutable records for better traceability and how we can take advantage of performance improvements in the .NET runtime to write more performant code ourselves.
The cool thing about C# is its backward compatibility, which lets you jump on to the .NET 5 bandwagon with a code base written using prior C# versions. Even so, I hope this chapter has given you enough encouragement to start taking advantage of the new and cleaner C# 9.
With knowledge of the .NET 5 new features under our belt, in the next section, we will learn about architectural best practices and design patterns that can be leveraged in the .NET 5 world.