微软开放.NET Hot Reload预览,可以在程序运行时应用受支持的源码修改。可通过Visual Studio16.11 Preview1或.NET6 Preview4的dotnet watch尝试。