关于[Upgrading Old C# to C# 9: Init Only Setters]的摘要:
In my past twoposts, I’ve looked at upgrading an older C# code base to .Net 5. In this post I’m going to start looking at modernizing the code in that library to use C# 9. Specifically, I’m going to look at the benefits of using Init Only Setters.In the Biggy code base, there is a class named...
原文地址: http://humbletoolsmith.com/2020/12/18/upgrading-old-csharp-to-csharp-9-init-only-setters/