C# Get an EnumMember By Value

前端 未结 0 938
感动是毒
感动是毒 2020-12-16 06:04

I have the following enum

public enum States
  {
    [EnumMember(Value = "AL")] Alabama = 1,
    [EnumMember(Value = "AK")] Alaska = 2,
           


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