Write generic method which takes enum and string as arguments

前端 未结 0 1951
臣服心动
臣服心动 2020-12-30 20:39

Please suggest. Suppose I have two enums as shown below. I\'m performing tasks if enum values match my string.

public enum Action {
        DO("DO")         


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