Chapter 1, Introducing C# 10.0 and .NET 6
- Performance improvements in the garbage collector and JIT compiler, improved performance of text-based processing, faster regular expression processing, and performance of threading and asynchronous operations has been boosted. There have also been performance improvements to collections, LINQ, networking, and Blazor; plus, there are additional performance-based APIs and analyzers that are new to .NET 6.
- You can now write top-level programs and use
init
-only properties and records. There are new pattern matching features and new expressions with targeted types. You can use covariant returns and perform native compilation. dotnet
andngen
.- Run the Microsoft Store app performance assessment. Follow Microsoft’s advice based on the assessment to improve your app’s performance, and address each of the highlighted issues found with your app.
- Perform baseline measurements, begin optimizations by performing the refactoring...