Why can I make changes to a field if I have set it as readonly in C#?

后端 未结 0 1789
鱼传尺愫
鱼传尺愫 2020-12-16 08:04

Here\'s an example. If I declare:

private readonly string _abc;

_abc = "test";
_abc = "newTest";

Can someone explain to

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