Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个问题
如何在系统枚举中指定新值?
例如,LoginFailureAction 有一个用微软在 c# 中定义的枚举,我怎样才能在这个枚举中获取新值?
当然,您不能更改类型的默认值。类型就是类型,你不能改变它。