Pretending .NET strings are value type

后端 未结 4 1852
死守一世寂寞
死守一世寂寞 2021-02-09 11:45

In .NET, strings are immutable and are reference type variables. This often comes as a surprise to newer .NET developers who may mistake them for value type objects due to their

4条回答
提交回复
热议问题