Why can't I use C#9's “with” keyword to create a copy of structs (like with records)

后端 未结 0 1765
我在风中等你
我在风中等你 2020-11-30 22:47

C# 9 has a new feature. A record type. The record is just a class, but with a bunch of automatically created functions and properties. But basically the idea (as I undstand

相关标签:
回答
  • 消灭零回复
提交回复
热议问题