且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我的枚举可以有友好名称吗?

更新时间:2023-11-06 23:07:10

枚举值名称必须遵循与 C# 中所有标识符相同的命名规则,因此只有名字是正确的.

Enum value names must follow the same naming rules as all identifiers in C#, therefore only first name is correct.