.NET: Why aren't Enum's Range/Value Checked?

后端 未结 0 1633
遇见更好的自我
遇见更好的自我 2021-02-14 18:34

This has always bugged me. Perhaps someone with some hardcore knowledge of .NET internals can explain it to me.

Suppose I define an enum as follows:

publ         


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