为什么 Microsoft 建议我们对静态数据类型使用属性,而不是静态字段?

Why does Microsoft suggest we use properties for static data types, rather than static fields?

this 是否仍然相关?

It is recommended that you use static properties instead of public static fields whenever possible.

如果是,为什么?

编辑: 当我们要求澄清 为什么 Microsoft 的编码风格是定义它的方式。

在 linked 文章中,还有另一篇 link、Field Usage Guidelines,包含以下解释:

Do not use instance fields that are public or protected (Public or Protected in Visual Basic). If you avoid exposing fields directly to the developer, classes can be versioned more easily because a field cannot be changed to a property while maintaining binary compatibility.

这适用于静态字段以及 non-static/instance 字段。这意味着您稍后可以在不破坏依赖性的情况下更改支持 属性 的字段的设置或获取方式。
如果您发布了带有 public 字段的 class,则您永远无法更改此设置,以免给已经访问该字段的开发人员带来麻烦。