.NET/BCL 源代码中“string.Empty”上方令人困惑的注释的含义?

问题描述 投票:0回答:0

我试图理解为什么

string.Empty
readonly
而不是
const
。 我看到了this帖子,但我不明白微软对此的评论。正如 Jon Skeet 在评论中写道“我不知道 - 老实说,这对我来说没有多大意义......”

共享源代码公共语言基础设施 2.0 版本。 string.cs 位于 sscli2 中

c# .net string base-class-library
© www.soinside.com 2019 - 2024. All rights reserved.